import { createContext } from 'react' ; export interface LabelContextValue { active : boolean ; setActive : ( active : boolean ) => void ; } const initialValue = { active : false , setActive : ( ) => { } , } ; const LabelContext = createContext ( initialValue ) ; export default LabelContext ;