mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 17:09:46 +08:00
13 lines
243 B
TypeScript
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;
|