Text Input component
A text input component
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { Hero } from '@wethecurious/wtc-ui-library'
Prop
<InputText label={'Standard'} />
<InputPassword />
Props
Prop | Description | Default |
---|---|---|
isBeenActive | Has been active | |
isDisabled | isDisabled | |
isRequire | isRequire | |
feedback | Feedback string | |
feedbackStatusColor | feedbackStatusColor | |
scale | Scale of input | |
content | content | |
theme | theme | |
type | input type | |
label | input label | |
inlineEl | Child element | |
statusColor | statusColor | |
statusIcon | Status Icon | |
onClick | on click handler | |
onFocus | on focus handler | |
onBlur | on blur handler | |
onSubmit | on submit handler |