UNPKG

svelte-cssgg-icons

Version:
32 lines (31 loc) 951 B
import { SvelteComponent } from "svelte"; import type { ComponentType } from 'svelte'; declare const __propDef: { props: { [x: string]: any; icon: ComponentType; size?: number | undefined; color?: string | undefined; role?: string | undefined; ariaLabel?: string | undefined; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type IconProps = typeof __propDef.props; export type IconEvents = typeof __propDef.events; export type IconSlots = typeof __propDef.slots; /** * [Go to docs](https://svelte-cssgg-icons.codewithshin.com) * ## Props * @prop export let icon: ComponentType; * @prop export let size: number = 24; * @prop export let color: string = ''; * @prop export let role: string = 'img'; * @prop export let ariaLabel: string = 'Icon'; */ export default class Icon extends SvelteComponent<IconProps, IconEvents, IconSlots> { } export {};