UNPKG

@faivform/builtin

Version:

Built-in forms using @tuentyfaiv/svelte-form

9 lines (8 loc) 349 B
import type { FieldInputForm } from "../typing/globals/interfaces.js"; import type { TextsProp } from "../typing/globals/proptypes.js"; export declare function getTexts<T extends string>(texts: TextsProp<T>): <E extends string>(field: FieldInputForm<T, E>) => { label: string; placeholder: string | undefined; name: T; type: any; };