import { useId, type SVGProps } from 'react'; export type DocumentIconProps = SVGProps & { /** Accessibility title for the icon, set aria-hidden="true" if the icon is purely decorative. */ title?: string; /** * The size of the icon. * It sets the font-size, possible as the width and height is `1em`. If not set, the icon will inherit the font size of its parent. */ size?: '2xl' | 'xl' | 'large' | 'medium' | 'small'; /** * The color of the icon. * @default 'inherit' */ color?: 'inherit' | 'primary' | 'gray' | 'black' | 'white'; }; export const DocumentIcon = ({ title, size, color, ...props }: DocumentIconProps) => { const titleId = useId(); return ( {title ? {title} : null} ); };