UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

20 lines (19 loc) 586 B
import * as React from 'react'; import type { QAProps } from "../types.js"; import type { SVGIconData } from "./types.js"; import "./Icon.css"; export type IconData = SVGIconData; interface IconComposition { prefix?: string; } export interface IconProps extends QAProps { data: IconData; width?: number | string; height?: number | string; size?: number | string; fill?: string; stroke?: string; className?: string; } export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>> & IconComposition; export {};