15 lines
286 B
TypeScript
15 lines
286 B
TypeScript
import { createContext } from 'react';
|
|
|
|
interface ContextInterface {
|
|
title?: string;
|
|
name?: string;
|
|
subtitle?: string;
|
|
tagline?: string;
|
|
icon?: React.ReactNode;
|
|
colors?: any;
|
|
}
|
|
|
|
const ThemeContext = createContext({});
|
|
|
|
export { ThemeContext, ContextInterface };
|