@boxyhq/svelte-ui
Version:
Svelte UI components from BoxyHQ
33 lines (32 loc) • 1.04 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
type ItemListProps = {
label: string;
inputType: "text" | "url" | "number" | "password";
classNames?: {
label?: string;
input?: string;
};
currentlist: string | string[];
fieldName: string;
handleItemListUpdate: (fieldName: string, newList: string[]) => void;
};
declare const __propDef: {
props: {
currentlist: ItemListProps["currentlist"];
handleItemListUpdate: ItemListProps["handleItemListUpdate"];
fieldName: ItemListProps["fieldName"];
classNames?: ItemListProps["classNames"];
label: ItemListProps["label"];
inputType: ItemListProps["inputType"];
};
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 {};