import { OneOf, Omit } from './typeUtils'; import { HTMLProps } from 'react'; export const IconSize: { sm: 'sm'; md: 'md'; lg: 'lg'; xl: 'xl'; }; export interface IconProps extends Omit, 'size'> { color?: string; size?: OneOf; title?: string; } export const propTypes: Record<'size' | 'color', any>; export const defaultProps: typeof propTypes; export const getSize: ( size: OneOf ) => string;