UNPKG

601 BTypeScriptView Raw
1import { Component, FunctionalComponent, HTMLAttributes } from 'vue';
2export interface IconBaseProps extends HTMLAttributes {
3 spin?: boolean;
4 rotate?: number;
5}
6export interface CustomIconComponentProps {
7 width: string | number;
8 height: string | number;
9 fill: string;
10 viewBox?: string;
11}
12export interface IconComponentProps extends IconBaseProps {
13 viewBox?: string;
14 component?: Component;
15 ariaLabel?: string;
16}
17export interface IconType extends FunctionalComponent<IconComponentProps> {
18 displayName: string;
19}
20declare const Icon: IconType;
21export default Icon;