UNPKG

@sjsf/shadcn-theme

Version:

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

13 lines (12 loc) 553 B
import type { Component } from 'svelte'; import type { WithElementRef } from 'bits-ui'; import type { HTMLTextareaAttributes } from 'svelte/elements'; declare module '../context.js' { interface ThemeComponents { Textarea: Component<WithElementRef<HTMLTextareaAttributes>, {}, 'value' | 'ref'>; } } import '@sjsf/basic-theme/extra-widgets/textarea.svelte'; declare const Textarea: Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<string>, {}, "value">; type Textarea = ReturnType<typeof Textarea>; export default Textarea;