UNPKG

@tabler/icons-react

Version:

A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.

14 lines (11 loc) 573 B
import { ReactSVG, FunctionComponent, ForwardRefExoticComponent, RefAttributes } from 'react'; export { ReactNode } from 'react'; type IconNode = [elementName: keyof ReactSVG, attrs: Record<string, string>][]; interface IconProps extends Partial<Omit<React.ComponentPropsWithoutRef<'svg'>, 'stroke'>> { size?: string | number; stroke?: string | number; title?: string; } type Icon = FunctionComponent<IconProps>; type TablerIcon = ForwardRefExoticComponent<Omit<IconProps, "ref"> & RefAttributes<Icon>>; export type { Icon, IconNode, IconProps, TablerIcon };