Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
index.js exports
Browse files Browse the repository at this point in the history
  • Loading branch information
sycombs committed Nov 28, 2023
1 parent 8af2002 commit 42ecf2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/terra-folder-tree/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terra-folder-tree",
"main": "lib/FolderTree.js",
"main": "lib/index.js",
"version": "1.0.0-alpha.1",
"description": "Terra Folder Tree is a vertical menu that displays files and folders in a hierarchical tree structure.",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion packages/terra-folder-tree/src/FolderTree.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@ const FolderTree = ({ children, title, headerLevel }) => (
FolderTree.propTypes = propTypes;
FolderTree.defaultProps = defaultProps;

FolderTree.Item = FolderTreeItem;
export default FolderTree;
5 changes: 5 additions & 0 deletions packages/terra-folder-tree/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import FolderTree from './FolderTree';
import FolderTreeItem from './subcomponents/FolderTreeItem';

FolderTree.Item = FolderTreeItem;
export default FolderTree;

0 comments on commit 42ecf2e

Please sign in to comment.