import * as React from 'react'; export type DisabledType = true | false | undefined; const DisabledContext = React.createContext(false); export interface DisabledContextProps { disabled?: DisabledType; children?: React.ReactNode; } export const DisabledContextProvider: React.FC = ({ children, disabled }) => { const originDisabled = React.useContext(DisabledContext); return ( {children} ); }; export default DisabledContext;