feat: init
This commit is contained in:
16
apps/web/ce/hooks/use-page-flag.ts
Normal file
16
apps/web/ce/hooks/use-page-flag.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user