Skip to content

Commit

Permalink
[TreeView] Add missing exported types (#9862)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle authored and MBilalShafi committed Aug 2, 2023
1 parent ed8035e commit d0bae50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/x-tree-view/src/TreeView/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
export * from './TreeView';
export * from './treeViewClasses';
export type {
TreeViewProps,
SingleSelectTreeViewProps,
MultiSelectTreeViewProps,
TreeViewPropsBase,
} from './TreeView.types';
4 changes: 4 additions & 0 deletions scripts/x-tree-view.exports.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[
{ "name": "getTreeItemUtilityClass", "kind": "Function" },
{ "name": "getTreeViewUtilityClass", "kind": "Function" },
{ "name": "MultiSelectTreeViewProps", "kind": "Interface" },
{ "name": "SingleSelectTreeViewProps", "kind": "Interface" },
{ "name": "TreeItem", "kind": "Variable" },
{ "name": "treeItemClasses", "kind": "Variable" },
{ "name": "TreeItemClasses", "kind": "Interface" },
Expand All @@ -11,5 +13,7 @@
{ "name": "treeViewClasses", "kind": "Variable" },
{ "name": "TreeViewClasses", "kind": "Interface" },
{ "name": "TreeViewClassKey", "kind": "TypeAlias" },
{ "name": "TreeViewProps", "kind": "TypeAlias" },
{ "name": "TreeViewPropsBase", "kind": "Interface" },
{ "name": "useTreeItem", "kind": "Function" }
]

0 comments on commit d0bae50

Please sign in to comment.