@smkit/ui
Version:
UI Kit of SberMarketing
42 lines (41 loc) • 1.13 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { Writable } from 'svelte/store';
declare const __propDef: {
props: {
[x: string]: any;
autocomplete?: boolean;
disabled?: boolean;
label?: string;
placeholder?: string;
description?: string;
footer?: string;
value?: string;
readonly?: boolean;
enableCopy?: boolean;
inputFocus?: boolean;
isInputActive?: boolean;
type?: string;
oninput?: Function | null;
onmount?: Function | null;
name?: string;
errors?: Writable<{
[key: string]: string;
}> | null;
error?: string;
};
events: {
input: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
label: {};
footer: {};
};
};
export type InputProps = typeof __propDef.props;
export type InputEvents = typeof __propDef.events;
export type InputSlots = typeof __propDef.slots;
export default class Input extends SvelteComponentTyped<InputProps, InputEvents, InputSlots> {
}
export {};