UNPKG

@sjsf/shadcn-theme

Version:

The shadcn-svelte based theme for svelte-jsonschema-form

11 lines (10 loc) 518 B
import type { SelectSingleRootProps, SelectTriggerProps } from '../types/select'; declare module '@sjsf/form' { interface UiOptions { shadcnSelect?: Omit<SelectSingleRootProps, 'type'>; shadcnSelectTrigger?: SelectTriggerProps; } } declare const Select: import("svelte").Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<import("@sjsf/form").SchemaValue> & import("@sjsf/form/fields/widgets").Options, {}, "value">; type Select = ReturnType<typeof Select>; export default Select;