0.1.0 • Published 5 years ago
quina-component-library v0.1.0
Quina's Components Library
About
This is a component library created for test purposes only. It is not suited for production use!
Installation
Run the following command:
npm install quina-component-library
Components
TextInput
This component renders an input field and it's label.
Props
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. |
Usage
Example
import { TextInput } from "quina-component-library";
...
<TextInput label="Email Address" placeholder="name@example.com" />
0.1.0
5 years ago