UNPKG

@dvcol/neo-svelte

Version:

Neomorphic ui library for svelte 5

17 lines (16 loc) 806 B
import type { NeoInputMethods, NeoTextareaProps } from './neo-input.model.js'; declare const NeoTextarea: import("svelte").Component<NeoTextareaProps, { validate: NeoInputMethods<HTMLTextAreaElement>["validate"]; /** * Change the state of the input * @param state */ mark: NeoInputMethods<HTMLTextAreaElement>["mark"]; /** * Clear the input state */ clear: NeoInputMethods<HTMLTextAreaElement>["clear"]; /** * Change the value of the input */ change: NeoInputMethods<HTMLTextAreaElement>["change"]; }, "value" | "ref" | "hovered" | "focused" | "valid" | "touched" | "focusin" | "dirty" | "validationRef" | "containerRef" | "afterRef" | "affixRef" | "labelRef">; type NeoTextarea = ReturnType<typeof NeoTextarea>; export default NeoTextarea;