svelte-oct
Version:
Octicons components for Svelte
32 lines (31 loc) • 958 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { ComponentType } from 'svelte';
declare const __propDef: {
props: {
[x: string]: any;
icon: ComponentType;
size?: number | undefined;
role?: string | undefined;
color?: 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-oct.codewithshin.com/)
* ## Props
* @prop export let icon: ComponentType;
* @prop export let size: number = 16;
* @prop export let role: string = 'img';
* @prop export let color: string = 'currentColor';
* @prop export let ariaLabel = 'Icon';
*/
export default class Icon extends SvelteComponentTyped<IconProps, IconEvents, IconSlots> {
}
export {};