UNPKG

@boxyhq/svelte-ui

Version:

Svelte UI components from BoxyHQ

34 lines (33 loc) 989 B
import { SvelteComponentTyped } from "svelte"; type InputProps = { type?: "text" | "number" | "email" | "url"; id: string; label: string; value: string; classNames?: { input?: string; label?: string; container?: string; }; handleInputChange?: (e: any) => void; } & JSX.InputHTMLAttributes<HTMLInputElement>; declare const __propDef: { props: { classNames?: InputProps["classNames"]; id: InputProps["id"]; label: InputProps["label"]; type?: InputProps["type"]; value: InputProps["value"]; handleInputChange?: InputProps["handleInputChange"]; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type IndexProps = typeof __propDef.props; export type IndexEvents = typeof __propDef.events; export type IndexSlots = typeof __propDef.slots; export default class Index extends SvelteComponentTyped<IndexProps, IndexEvents, IndexSlots> { } export {};