UNPKG

@sjsf/shadcn4-theme

Version:

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

15 lines (14 loc) 541 B
import type { Component } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; declare module '../context.js' { interface ThemeComponents { FieldTitle: Component<HTMLAttributes<HTMLDivElement>>; } } import '@sjsf/basic-theme/components/title.svelte'; declare const Title: Component<import("@sjsf/form/fields/components").ComponentCommonProps & { title: string; templateType: import("@sjsf/form/fields/templates").TemplateType; }, {}, "">; type Title = ReturnType<typeof Title>; export default Title;