UNPKG

@procore/core-react

Version:
13 lines (12 loc) 659 B
import React from 'react'; export declare type ThumbnailDocumentIconVariant = 'image' | 'unknown' | 'zip' | 'drawing' | 'email' | 'excel' | 'gantt' | 'ini' | 'mov' | 'pdf' | 'powerpoint' | 'word' | 'xml' | '3d' | 'folder' | 'folderPeople' | 'folderLock' | 'file'; export interface DocumentIconProps { variant: ThumbnailDocumentIconVariant; role?: 'img'; className?: string; width?: string | number; height?: string | number; focusable?: boolean; 'aria-label'?: string; } export declare function DocumentIcon({ className, focusable, height, variant, width, 'aria-label': ariaLabelOverride, }: DocumentIconProps): React.JSX.Element;