datareq- Type
TreeNode[]- Default
- -
- Description
- Hierarchical data structure representing folders and files.
Search for a command to run...
Components / Layout
மரவமைப்பு
A tree view displays hierarchical node records (folders and nested files). Useful for navigating nested categories, district circles, administrative structures, or local folder structures.
மரவமைப்பானது படிநிலை விவரங்களை (கோப்புறைகள் மற்றும் கோப்புகள்) கிளைகளாகக் காட்சிப்படுத்த உதவும்.
3 parts documented for implementation and review.
<button>Chevron icon button that rotates dynamically to signal branch expansion states (0 degrees for closed, 90 degrees for open).
<svg>Semantic glyph reinforcing whether the node represents a branch container (Folder) or a leaf document (FileText).
Bilingual descriptive text statement for the node (e.g. 'சென்னை மாவட்டம் / Chennai'). Sized small with snug spacing.
datareqTreeNode[]defaultExpandedbooleanfalseonNodeSelect(node: TreeNode) => void| Prop | Type | Default | Description |
|---|---|---|---|
datareq | TreeNode[] | - | Hierarchical data structure representing folders and files. |
defaultExpanded | boolean | false | Default folder open configuration. |
onNodeSelect | (node: TreeNode) => void | - | Node click listener callback. |
Different visual glyphs assist in quickly scanning nested layouts.
கோப்புறைகள் மற்றும் கோப்புகளை வேறுபடுத்திக் காட்டும் சின்னங்களைப் பயன்படுத்துங்கள்.
Nesting nodes flatly makes it impossible to identify which files belong to which parent folder.
இடைவெளி ஒதுக்காமல் அடுக்குவது படிநிலையைப் புரிந்துகொள்வதைக் கடினமாக்கும்.