UNPKG

@dvcol/neo-svelte

Version:

Neomorphic ui library for svelte 5

18 lines (17 loc) 841 B
import NeoBaseInput from './NeoBaseInput.svelte'; import { type NeoBaseInputProps, type NeoInputMethods } from './neo-input.model.js'; declare const NeoBaseInput: import("svelte").Component<NeoBaseInputProps, { validate: NeoInputMethods<HTMLInputElement>["validate"]; /** * Change the state of the input * @param state */ mark: NeoInputMethods<HTMLInputElement>["mark"]; /** * Clear the input state */ clear: NeoInputMethods<HTMLInputElement>["clear"]; /** * Change the state of the input */ change: NeoInputMethods<HTMLInputElement>["change"]; }, "ref" | "value" | "checked" | "valid" | "group" | "touched" | "dirty" | "initial" | "validationMessage" | "files" | "indeterminate" | "focused">; type NeoBaseInput = ReturnType<typeof NeoBaseInput>; export default NeoBaseInput;