0.1.0 • Published 5 years ago

quina-component-library v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

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

NameData TypeRequiredDefaultDescription
typeStringNo"text"The input type.
labelStringYesThe field's label.
valueString, NumberNo""The initial field value.
onChangeFunctionNoA 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