@fifteen/design-system-vue
Version:
Vue 3 (Composition API + Typescript) implementation of the Fifteen Design System
49 lines (48 loc) • 1.22 kB
TypeScript
import { Color } from '../types/colors';
import { Icon } from '../types/icons';
export interface FIconProps {
/**
* Name of the icon
*/
name?: Icon | null;
/**
* Size of the icon
*/
size?: string | number;
/**
* Color of the icon
*/
color?: Color;
/**
* Stroke color of the icon
*/
strokeColor?: Color;
/**
* Stroke width
*/
strokeWidth?: number;
/**
* Source of the icon
*/
src?: string;
/**
* Optional alternate text for the icon,
* will override the auto-generated one based on the icon name
*/
alt?: string;
/**
* Svg markup of the icon
*/
markup?: string;
}
declare const _default: import('vue').DefineComponent<FIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FIconProps> & Readonly<{}>, {
color: Color;
src: string;
alt: string;
size: string | number;
name: Icon | null;
strokeColor: Color;
strokeWidth: number;
markup: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;