UNPKG

raster-react

Version:

Retro pixel perfect icons with a charming aesthetic for your needs.

14 lines (13 loc) 500 B
import { SVGProps } from 'react'; export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'strokeWidth' | 'className'> { /** Color of the icon - accepts any valid CSS color value */ color?: string; /** Corner radius of the blocks in pixels */ radius?: number; /** Size of the icon */ size?: number; /** Stroke width of the blocks */ strokeWidth?: number; /** CSS classes to apply to the icon (e.g. Tailwind classes) */ className?: string; }