Skip to content

FileIconKind

FileIconKind = "folder" | "folder-open" | "image" | "media" | "code" | "archive" | "text" | "file"

Defined in: src/components/controls/FileTree/fileTreeIcons.ts:10

The icon categories FileTree resolves a node to. Folders get an open/closed pair; files collapse to a small set of type buckets backed by the existing icon set. Rendering a kind into an actual icon element lives in the client component — this module is pure classification so it can be unit-tested without React.