Skip to content

FileTreeLabels

Defined in: src/components/controls/FileTree/fileTreeLabels.ts:9

Localizable strings for FileTree. Every user-facing / screen-reader string the component renders on its own goes through here so the whole component can be localized in one place (file and folder names come from your data, so they are already yours to localize).

See

DEFAULT_FILE_TREE_LABELS for the English defaults.

Properties

emptyLabel

emptyLabel: string

Defined in: src/components/controls/FileTree/fileTreeLabels.ts:13

Text shown when the tree is empty (unless emptyContent is provided).


treeLabel

treeLabel: string

Defined in: src/components/controls/FileTree/fileTreeLabels.ts:11

Accessible name for the tree region (role="tree" aria-label).