UNPKG

@boxyhq/svelte-ui

Version:

Svelte UI components from BoxyHQ

42 lines (41 loc) 1.44 kB
import { SvelteComponentTyped } from "svelte"; type SecretInputFormControlProps = { label: string; value?: string; id: string; placeholder?: string; required?: boolean; maxLength?: string; readOnly: boolean; copyDoneCallback?: (info: { operation: "COPY"; }) => void; handleChange: (event: Event) => void; classNames?: { input?: string; }; } & JSX.InputHTMLAttributes<HTMLInputElement>; declare const __propDef: { props: { handleChange: SecretInputFormControlProps["handleChange"]; classNames?: SecretInputFormControlProps["classNames"]; id: SecretInputFormControlProps["id"]; label: SecretInputFormControlProps["label"]; value?: SecretInputFormControlProps["value"]; copyDoneCallback?: SecretInputFormControlProps["copyDoneCallback"]; placeholder?: SecretInputFormControlProps["placeholder"]; required?: SecretInputFormControlProps["required"]; maxLength?: SecretInputFormControlProps["maxLength"]; readOnly: SecretInputFormControlProps["readOnly"]; }; 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 {};