svelte-supertiny
Version:
Supertinyicons components for Sveltejs
23 lines (22 loc) • 480 B
TypeScript
import type { SVGAttributes } from 'svelte/elements';
type TitleType = {
id?: string;
title?: string;
};
type DescType = {
id?: string;
desc?: string;
};
export interface BaseProps extends SVGAttributes<SVGElement> {
size?: string;
role?: string;
color?: string;
class?: string;
focusable?: 'true' | 'false' | 'auto';
}
export interface Props extends BaseProps {
title?: TitleType;
desc?: DescType;
ariaLabel?: string;
}
export {};