ui/build/file-tree/file-tree-icons
ui/build/file-tree/file-tree-icons
Functions
getDefaultFileTreeEntryIcon()
function getDefaultFileTreeEntryIcon(entry, context): string;Defined in: apps/website/.api-docs-entry/ui/build/file-tree/file-tree-icons.d.ts:3
Cursor / VS Code–style Iconify ids for workspace file tree rows.
Parameters
| Parameter | Type |
|---|---|
entry |
FileTreeEntry |
context |
{ open: boolean; } |
context.open |
boolean |
Returns
string
getFileIconForPath()
function getFileIconForPath(relativePath): string;Defined in: apps/website/.api-docs-entry/ui/build/file-tree/file-tree-icons.d.ts:6
Parameters
| Parameter | Type |
|---|---|
relativePath |
string |
Returns
string