-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55aca5c
commit 3486d4f
Showing
26 changed files
with
138 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 5 additions & 12 deletions
17
packages/x-tree-view/src/internals/TreeViewProvider/TreeViewProvider.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
packages/x-tree-view/src/internals/plugins/useTreeViewContextValueBuilder/index.ts
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...ew/src/internals/plugins/useTreeViewContextValueBuilder/useTreeViewContextValueBuilder.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/x-tree-view/src/internals/plugins/useTreeViewIcons/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export { useTreeViewIcons } from './useTreeViewIcons'; | ||
export type { | ||
UseTreeViewIconsSignature, | ||
UseTreeViewIconsParameters, | ||
UseTreeViewIconsDefaultizedParameters, | ||
} from './useTreeViewIcons.types'; |
15 changes: 15 additions & 0 deletions
15
packages/x-tree-view/src/internals/plugins/useTreeViewIcons/useTreeViewIcons.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { TreeViewPlugin } from '../../models'; | ||
import { UseTreeViewIconsSignature } from './useTreeViewIcons.types'; | ||
|
||
export const useTreeViewIcons: TreeViewPlugin<UseTreeViewIconsSignature> = ({ params }) => { | ||
return { | ||
contextValue: { | ||
icons: { | ||
defaultCollapseIcon: params.defaultCollapseIcon, | ||
defaultEndIcon: params.defaultEndIcon, | ||
defaultExpandIcon: params.defaultExpandIcon, | ||
defaultParentIcon: params.defaultParentIcon, | ||
}, | ||
}, | ||
}; | ||
}; |
Oops, something went wrong.