@boxyhq/svelte-ui
Version:
Svelte UI components from BoxyHQ
40 lines (39 loc) • 1.09 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
interface SelectProps {
label: string;
id?: string;
name: string;
options: Array<{
value: string;
text: string;
}>;
classNames?: {
select?: string;
label?: string;
};
disabled?: boolean;
selectedValue: string;
handleChange: (event: any) => void;
}
declare const __propDef: {
props: {
id?: SelectProps["id"];
label: SelectProps["label"];
disabled?: SelectProps["disabled"];
classNames?: SelectProps["classNames"];
name: SelectProps["name"];
selectedValue: SelectProps["selectedValue"];
handleChange: SelectProps["handleChange"];
options: SelectProps["options"];
};
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 {};