UNPKG

@sorens/artist-svelte

Version:

an opinionated and clean UI framework for SvelteKit with theme support built-in

40 lines (39 loc) 1.21 kB
import { SvelteComponentTyped } from "svelte"; import type { useAction } from '../../types/global'; import type { ColorProp, InputTypeProp, RtlProp, VariantProp } from '../../types/components'; declare const __propDef: { props: { [x: string]: any; color?: ColorProp; variant?: Exclude<VariantProp, 'gradient'>; shadow?: boolean; icon?: string | undefined; id?: string; type?: InputTypeProp; rtl?: RtlProp; fullWidth?: boolean; useAction?: useAction<HTMLElement>; class?: string | undefined; }; events: { change: Event; click: MouseEvent; dblclick: MouseEvent; mouseenter: MouseEvent; mouseleave: MouseEvent; mouseover: MouseEvent; focus: FocusEvent; input: Event; } & { [evt: string]: CustomEvent<any>; }; slots: { default: {}; }; }; export declare type InputProps = typeof __propDef.props; export declare type InputEvents = typeof __propDef.events; export declare type InputSlots = typeof __propDef.slots; export default class Input extends SvelteComponentTyped<InputProps, InputEvents, InputSlots> { } export {};