UNPKG

@sjsf/shadcn4-theme

Version:

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

12 lines (11 loc) 587 B
import type { Component } from 'svelte'; import type { Select, WithoutChild, SelectTriggerProps, SelectSingleRootProps, SelectMultipleRootProps } from 'bits-ui'; export type { SelectTriggerProps, SelectSingleRootProps, SelectMultipleRootProps }; declare module '../context.js' { interface ThemeComponents { Select: Component<Select.RootProps, {}, 'value' | 'open'>; SelectItem: Component<WithoutChild<Select.ItemProps>>; SelectTrigger: Component<WithoutChild<Select.TriggerProps>>; SelectContent: Component<WithoutChild<Select.ContentProps>>; } }