@spartanfx/react v1.1.0
@spartanfx/react / index / IFileTypeIconProps
Interface: IFileTypeIconProps
Properties
| Property | Type | Description |
|---|
className? | string | - |
colored? | boolean | Tint the glyph by category (default true). Set false to inherit color. |
extension? | string | Extension only (e.g. "pdf"). Takes precedence over fileName. |
fileName? | string | Full file name; the extension is derived from it. |
size? | number | Pixel size. Default 24. |
type? | "folder" | "file" | 'folder' forces the folder glyph regardless of extension. |