fe2c8bb43b
Closes #7339 https://github.com/user-attachments/assets/b623caa4-c1b3-448e-8880-4a8301802ba8
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
import { createContext } from 'react';
|
|
|
|
type ActionMenuContextType = {
|
|
isInRightDrawer: boolean;
|
|
onActionExecutedCallback: () => void;
|
|
};
|
|
|
|
export const ActionMenuContext = createContext<ActionMenuContextType>({
|
|
isInRightDrawer: false,
|
|
onActionExecutedCallback: () => {},
|
|
});
|