parent
91ebeca78d
commit
19cec7dbb3
@ -1,3 +1,9 @@ |
||||
import React from 'react' |
||||
import {ThemeType} from './types' |
||||
|
||||
export const AppContext = React.createContext({}) |
||||
export const AppContext = React.createContext({ |
||||
themeType: 'dark' as ThemeType, |
||||
setThemeType: (themeType: ThemeType) => { |
||||
console.log('Calling Set Theme Type') |
||||
}, |
||||
}) |
||||
|
Loading…
Reference in new issue