Files
protocol/packages/dev-tools-pages/ts/context/index.tsx
Fabio Berger 589b535b91 Add docLink
2019-01-09 17:30:01 +01:00

23 lines
462 B
TypeScript

import { createContext } from 'react';
interface ContextInterface {
title?: string;
name?: string;
docLink?: string;
subtitle?: string;
tagline?: string;
icon?: React.ReactNode;
colors?: {
main: string;
secondary: string;
secondary_alt: string;
type: string;
type_alt: string;
dark: string;
};
}
const ThemeContext = createContext({});
export { ThemeContext, ContextInterface };