@fuxui/base
Version:
ui kit - svelte 5 + tailwind 4 - base components
14 lines (13 loc) • 423 B
TypeScript
import { Select, type WithoutChildren } from 'bits-ui';
type Props = WithoutChildren<Select.RootProps> & {
placeholder?: string;
items: {
value: string;
label: string;
disabled?: boolean;
}[];
contentProps?: WithoutChildren<Select.ContentProps>;
};
declare const Select: import("svelte").Component<Props, {}, "value">;
type Select = ReturnType<typeof Select>;
export default Select;