@sjsf/shadcn4-theme
Version:
The shadcn-svelte based theme for svelte-jsonschema-form
14 lines (13 loc) • 485 B
TypeScript
import type { ButtonType } from '@sjsf/form/fields/components';
import type { ButtonProps } from '../types/button.js';
declare module '@sjsf/form' {
interface UiOptions {
shadcn4Button?: ButtonProps;
shadcn4Buttons?: {
[B in ButtonType]: ButtonProps;
};
}
}
declare const Button: import("svelte").Component<import("@sjsf/form/fields/components").ButtonComponentProps, {}, "">;
type Button = ReturnType<typeof Button>;
export default Button;