Text input
Last updated: 2.0.0 (18/01/2023)
Usage
import { TextInput } from "@valence-ui/core";
function MyComponent() {
const [value, setValue] = React.useState("");
return (
<TextInput
value={value}
setValue={setValue}
/>
)
}Props
Extends GenericTextInputProps and GenericTextInputEventProps.
Property
Type
Description
multiple
boolean
For type=email, this specifies if this input accepts multiple values.
grow
boolean
Shorthand for flex-grow = 1.
TextInputType
Defines the type of input that will be rendered.
AutoCompleteBehaviour
Defines the type of autocomplete behaviour that will be used.
Last updated
Was this helpful?