UNPKG

@payfit/unity-icons

Version:

15 lines (14 loc) • 516 B
import { SVGProps } from 'react'; import { UnityIcon } from '../../../generated/index.js'; type IconSpriteProps = SVGProps<SVGSVGElement> & { /** The icon name to be displayed from Unity's icon library */ src: UnityIcon; }; /** * Renders an individual icon from Unity's icon library using an SVG sprite. */ export declare function IconSprite({ src, ...rest }: IconSpriteProps): import('react/jsx-runtime').JSX.Element | null; export declare namespace IconSprite { var displayName: string; } export {};