ant-design/.dumi/theme/slots/DemoContext.ts
lijianan ba999de764
chore: site code format (#39457)
* format: site code format

* Conflicting

* lint

* rename
2022-12-19 13:23:28 +08:00

13 lines
243 B
TypeScript

import { createContext } from 'react';
export type DemoContextProps = {
showDebug?: boolean;
};
const DemoContext = createContext<{
showDebug?: boolean;
setShowDebug?: (showDebug: boolean) => void;
}>({});
export default DemoContext;