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