import * as React from 'react'; import ItemIcon, { ItemIconProps } from './item-icon'; import Tooltip, { TooltipPosition } from '../components/tooltip'; const itemTypeOptions: ItemIconProps['iconType'][] = [ 'default', 'audio', 'bookmark', 'boxnote', 'code', 'document', 'dwg', 'excel-spreadsheet', 'google-docs', 'google-sheets', 'google-slides', 'illustrator', 'image', 'indesign', 'keynote', 'numbers', 'pages', 'pdf', 'photoshop', 'powerpoint-presentation', 'presentation', 'spreadsheet', 'text', 'threed', 'vector', 'video', 'word-document', 'zip', 'folder-collab', 'folder-external', 'folder-plain', ]; export const itemIcons = () => { return ( <> {itemTypeOptions.map(t => ( ))}

Hover icons in grid to view the iconType prop

); }; const description = ` ItemIcon, and the solid-color variant ItemIconMonotone, are catch-all components that render the appropriate icon for a given file or folder type `; export default { title: 'Icons/ItemIcon', component: ItemIcon, parameters: { componentSubtitle: description, }, };