Tree
A tree component is used when designers need to visualize hierarchical data or nested categories. It is commonly used for representing navigation menus, file structures, organizational charts, or any scenario where data needs to be organized in a tree-like structure.
Variants
Props
--- yet to be updated ---
Props | Datatype | Values/Example |
---|---|---|
type | string | "primary" | "dark" | "danger" | "transparent" | "other" | "icon" |
disabled | boolean | "true" | "false" |
loader | boolean | "true" | "false" |
title | string | "Cancel" |
onClick | function | function from parent component |
textStyleProp | Object | font-size: var(--base-text) |