API reference
components/input
Import
Section titled “Import”import * as api from "@fungi.computer/caps/components/input";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| type alias | InputProps | Props accepted by Input. |
| constant | Input | A styled native text input that preserves caller-owned value and event behavior. |
| constant | SearchInput | A native search input with an optional decorative leading icon. |
InputPropstype alias
Section titled “InputProps”type InputProps = object & InputHTMLAttributes<HTMLInputElement>;Props accepted by Input.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
invalid? |
boolean |
Inputconstant
Section titled “Input”const Input: ForwardRefExoticComponent< object & InputHTMLAttributes<HTMLInputElement> & RefAttributes<HTMLInputElement>>;A styled native text input that preserves caller-owned value and event behavior.
SearchInputconstant
Section titled “SearchInput”const SearchInput: ForwardRefExoticComponent< object & InputHTMLAttributes<HTMLInputElement> & object & RefAttributes<HTMLInputElement>>;A native search input with an optional decorative leading icon.