UNPKG

svelte-ux

Version:

A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.

54 lines (53 loc) 1.6 kB
import { SvelteComponentTyped } from "svelte"; import { type LabelPlacement } from '../types/index.js'; declare const __propDef: { props: { [x: string]: any; label?: string | undefined; labelPlacement?: LabelPlacement | undefined; value?: any; placeholder?: string | undefined; error?: string | string[] | boolean | undefined | undefined; hint?: string | undefined; disabled?: boolean | undefined; clearable?: boolean | undefined; base?: boolean | undefined; rounded?: boolean | undefined; dense?: boolean | undefined; icon?: string | null | undefined; iconRight?: string | null | undefined; center?: boolean | undefined; classes?: { root?: string; container?: string; label?: string; input?: string; error?: string; prepend?: string; append?: string; } | undefined; id?: string | undefined; }; events: { click: MouseEvent; clear: CustomEvent<null>; } & { [evt: string]: CustomEvent<any>; }; slots: { prepend: {}; prefix: {}; default: { id: string; }; suffix: {}; append: {}; root: {}; }; }; export type FieldProps = typeof __propDef.props; export type FieldEvents = typeof __propDef.events; export type FieldSlots = typeof __propDef.slots; export default class Field extends SvelteComponentTyped<FieldProps, FieldEvents, FieldSlots> { } export {};