This is a component library created for test purposes only. It is not suited for production use!
Run the following command:
npm install quina-component-library
This component renders an input field and it's label.
Name | Data Type | Required | Default | Description |
---|---|---|---|---|
type |
String | No | "text" |
The input type. |
label |
String | Yes | The field's label. | |
value |
String, Number | No | "" |
The initial field value. |
onChange |
Function | No | A callback function to handle events. |
Example
import { TextInput } from "quina-component-library";
...
<TextInput label="Email Address" placeholder="name@example.com" />