svelte-ionicons
Version:
1350+ Ionicon SVG icons for Svelte 4, 5, and Runes
21 lines (20 loc) • 568 B
TypeScript
import type { Component } from 'svelte';
import type { SVGAttributes } from 'svelte/elements';
interface Props extends SVGAttributes<SVGElement> {
Icon: Component;
size?: string;
role?: string;
ariaLabel?: string;
}
/**
* [Go to docs](https://svelte-ionicons.codewithshin.com/)
* ## Props
* @props: Icon: any;
* @props:size: any = '24';
* @props:color: any = 'currentColor';
* @props:role: any = 'img';
* @props:ariaLabel: any = 'Icon';
*/
declare const Icon: Component<Props, {}, "">;
type Icon = ReturnType<typeof Icon>;
export default Icon;