UNPKG

@sjsf/shadcn-theme

Version:

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

14 lines (13 loc) 480 B
import type { ButtonType } from '@sjsf/form/fields/components'; import type { ButtonProps } from '../types/button'; declare module '@sjsf/form' { interface UiOptions { shadcnButton?: ButtonProps; shadcnButtons?: { [B in ButtonType]: ButtonProps; }; } } declare const Button: import("svelte").Component<import("@sjsf/form/fields/components").ButtonComponentProps, {}, "">; type Button = ReturnType<typeof Button>; export default Button;