mirror of
https://github.com/makeplane/plane.git
synced 2025-12-19 21:29:32 +01:00
17 lines
354 B
TypeScript
17 lines
354 B
TypeScript
export type TPageFlagHookArgs = {
|
|
workspaceSlug: string;
|
|
};
|
|
|
|
export type TPageFlagHookReturnType = {
|
|
isMovePageEnabled: boolean;
|
|
isPageSharingEnabled: boolean;
|
|
};
|
|
|
|
export const usePageFlag = (args: TPageFlagHookArgs): TPageFlagHookReturnType => {
|
|
const {} = args;
|
|
return {
|
|
isMovePageEnabled: false,
|
|
isPageSharingEnabled: false,
|
|
};
|
|
};
|