import React from 'react'; export type DisabledType = boolean | 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;