Files
A component that allows you to display a list of files and folders.
Made by imskyleenpackage.json
Installation
Usage
Examples
Files Advanced
package.json
Props
Files
Prop | Type | Default |
---|---|---|
sideComponent? | React.ReactNode | - |
onOpenChange? | function | - |
open? | string[] | - |
defaultOpen? | string[] | - |
activeClassName? | string | - |
className? | string | - |
children | React.ReactNode | - |
Folder
Prop | Type | Default |
---|---|---|
onOpenChange? | function | - |
open? | string[] | - |
defaultOpen? | string[] | - |
className? | string | - |
children? | React.ReactNode | - |
name | string | - |
File
Prop | Type | Default |
---|---|---|
name | string | - |
className? | string | - |
Credits
- Credits to Fumadocs for the inspiration