1 2 3 4 5 6 7 8 9 10 11 12 13 14
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 };