platina-core
Version:
UI Kit of SberMarketing
43 lines (42 loc) • 1.35 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { Writable } from 'svelte/store';
declare const __propDef: {
props: {
[x: string]: any;
inputClass?: string | undefined;
autocomplete?: boolean | undefined;
disabled?: boolean | undefined;
label?: string | undefined;
description?: string | undefined;
footer?: string | undefined;
value?: string | undefined;
enableCopy?: boolean | undefined;
inputFocus?: boolean | undefined;
isInputActive?: boolean | undefined;
type?: string | undefined;
oninput?: (Function | null) | undefined;
onmount?: (Function | null) | undefined;
name?: string | undefined;
errors?: (Writable<{
[key: string]: string;
}> | null) | undefined;
error?: string | undefined;
inputRef: HTMLInputElement;
};
events: {
change: Event;
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 {};