UNPKG

@sjsf/shadcn4-theme

Version:

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

14 lines (13 loc) 510 B
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from "svelte/elements"; import { type WithElementRef } from "../../../utils.js"; type InputType = Exclude<HTMLInputTypeAttribute, "file">; type Props = WithElementRef<Omit<HTMLInputAttributes, "type"> & ({ type: "file"; files?: FileList; } | { type?: InputType; files?: undefined; })>; declare const Input: import("svelte").Component<Props, {}, "ref" | "files" | "value">; type Input = ReturnType<typeof Input>; export default Input;