import { RefAttributes, SVGProps, ForwardRefExoticComponent } from 'react';

type SVGAttributes = Partial<SVGProps<SVGSVGElement>>;
type ElementAttributes = RefAttributes<SVGSVGElement> & SVGAttributes;
/**
 * Material Symbols icon component props
 */
interface IconProps extends ElementAttributes {
    /**
     * Icon size in pixels
     * @default 24
     */
    size?: number | string;
    /**
     * Icon color
     */
    color?: string;
}
/**
 * Material Symbols icon component type
 */
type MaterialSymbolsComponent = ForwardRefExoticComponent<Omit<IconProps, 'ref'> & RefAttributes<SVGSVGElement>>;

export type { IconProps, MaterialSymbolsComponent };
