10 lines
No EOL
238 B
TypeScript
10 lines
No EOL
238 B
TypeScript
import { createContext } from 'react'
|
|
|
|
const AppContext = createContext({
|
|
authenticated: false,
|
|
editable: false,
|
|
setAuthenticated: (auth: boolean) => {},
|
|
setEditable: (editable: boolean) => {}
|
|
})
|
|
|
|
export default AppContext |