View as Markdown

API reference: @salmonui/navigation/tree-view

TreeViewLocaleTextinterface

import type { TreeViewLocaleText } from '@salmonui/navigation/tree-view';
interface TreeViewLocaleText {
    readonly loading: string;
    readonly loadError: string;
    readonly retry: string;
    readonly rename: string;
    readonly moved: string;
}

Static texts of TreeView; {param} templates. Plain JSON, safe to pass from a server component.

TreeViewLocaleText members (5)
NameSignatureDescription
loadingreadonly loading: string;
loadErrorreadonly loadError: string;
retryreadonly retry: string;
renamereadonly rename: string;

{label}: the inline editor's accessible name.

movedreadonly moved: string;

{label}, {target}: announced after a move.