@dvcol/neo-svelte
Version:
Neomorphic ui library for svelte 5
18 lines (17 loc) • 836 B
TypeScript
import type { NeoBaseInputProps, NeoInputMethods } from './neo-input.model.js';
import NeoBaseInput from './NeoBaseInput.svelte';
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"];
}, "value" | "group" | "ref" | "focused" | "checked" | "valid" | "initial" | "validationMessage" | "files" | "indeterminate" | "touched" | "dirty">;
type NeoBaseInput = ReturnType<typeof NeoBaseInput>;
export default NeoBaseInput;