svelte-evil-icons
Version:
Svelte SVG Evil icons component
63 lines (62 loc) • 1.75 kB
TypeScript
/** @typedef {typeof __propDef.props} EiCameraProps */
/** @typedef {typeof __propDef.events} EiCameraEvents */
/** @typedef {typeof __propDef.slots} EiCameraSlots */
/**
* [Go to docs](https://svelte-evil-icons.codewithshin.com)
* ## Props
* @prop export let strokeWidth = ctx.strokeWidth || '2';
* @prop export let size = ctx.size || '50';
* @prop export let role = ctx.role || 'img';
* @prop export let color = ctx.color || 'currentColor';
* @prop export let ariaLabel = 'ei camera';
*/
export default class EiCamera extends SvelteComponent<{
[x: string]: any;
strokeWidth?: any;
size?: any;
role?: any;
color?: any;
ariaLabel?: string | undefined;
}, {
click: MouseEvent;
keydown: KeyboardEvent;
keyup: KeyboardEvent;
focus: FocusEvent;
blur: FocusEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
mouseout: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
}, {}> {
}
export type EiCameraProps = typeof __propDef.props;
export type EiCameraEvents = typeof __propDef.events;
export type EiCameraSlots = typeof __propDef.slots;
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
strokeWidth?: any;
size?: any;
role?: any;
color?: any;
ariaLabel?: string | undefined;
};
events: {
click: MouseEvent;
keydown: KeyboardEvent;
keyup: KeyboardEvent;
focus: FocusEvent;
blur: FocusEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
mouseout: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export {};