File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
apps/app/src/features/page-tree/interfaces Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 11import type { IPageToDeleteWithMeta } from '@growi/core' ;
22import type { CheckboxesFeatureDef , ItemInstance } from '@headless-tree/core' ;
33
4- import type { InputValidationResult } from '~/client/util/use-input-validator' ;
54import type { IPageForTreeItem } from '~/interfaces/page' ;
65import type { IPageForPageDuplicateModal } from '~/states/ui/modal/page-duplicate' ;
76
@@ -17,11 +16,7 @@ type TreeItemBaseProps<
1716 onRenamed ?( fromPath : string | undefined , toPath : string ) : void ;
1817} ;
1918
20- export type TreeItemToolProps = TreeItemBaseProps & {
21- stateHandlers ?: {
22- setIsOpen : React . Dispatch < React . SetStateAction < boolean > > ;
23- } ;
24- } ;
19+ export type TreeItemToolProps = TreeItemBaseProps ;
2520
2621export type TreeItemWithCheckboxToolProps = TreeItemBaseProps <
2722 IPageForTreeItem ,
@@ -44,7 +39,6 @@ export type TreeItemProps = TreeItemBaseProps & {
4439 customAlternativeComponents ?: Array <
4540 React . FunctionComponent < TreeItemToolProps >
4641 > ;
47- validateName ?: ( name : string ) => InputValidationResult | null ;
4842 onToggle ?: ( ) => void ;
4943 onClick ?( page : IPageForTreeItem ) : void ;
5044 onWheelClick ?( page : IPageForTreeItem ) : void ;
You can’t perform that action at this time.
0 commit comments