@a24z/dynamic-file-tree
Version:
React component for selective directory filtering and file tree visualization
67 lines (47 loc) • 1.03 kB
Markdown
React component for selective directory filtering and file tree visualization.
This package provides React components that allow users to:
- Select specific directories from a file tree
- Filter and show only selected directories
- Toggle directories as visible/hidden
- Provide a clean, filtered view of file trees
Inspired by the directory filter implementation in the electron-app search feature.
```bash
npm install @a24z/dynamic-file-tree
yarn add @a24z/dynamic-file-tree
bun add @a24z/dynamic-file-tree
```
```tsx
import { DynamicFileTree } from '@a24z/dynamic-file-tree';
function App() {
return (
<DynamicFileTree
// Props to be defined
/>
);
}
```
```bash
bun install
bun test
bun run build
bun run typecheck
bun run lint
bun run storybook
```
MIT
Developed by [a24z.ai](https://a24z.ai)