* refactor: filter schema component * feat: improve filter schema component * fix: cannot find module
12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
import { createContext } from 'react';
|
|
|
|
export const ActionContext = createContext<ActionContextProps>({});
|
|
|
|
export interface ActionContextProps {
|
|
button?: any;
|
|
visible?: boolean;
|
|
setVisible?: (v: boolean) => void;
|
|
openMode?: 'drawer' | 'modal' | 'page';
|
|
containerRefKey?: string;
|
|
}
|