input

v1.0.5arrow_drop_down
v1.0.5
v1.0.4
v1.0.0
STATUS
Passing
DOWNLOADS
311
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
5 KB
Input component
1 contributor
Install input as a package?
Copied
npm i @bit/dennisdigital.components.atoms.input
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
Input ()

Input component

Properties
NameTypeDefault value
type
string''
name
string''
value
string''
placeholder
string''
id
string''
checked
boolfalse
onClick
function() => {}
onChange
function() => {}
extraClassNames
{}{}
context
{}{}
Test Summary

Input with no props

Pass

check type text props

Pass

check type number props

Pass

check type search props

Pass

check type email props

Pass

check type checkbox props

Pass

check name props

Pass

check placeholder props

Pass

checks the ID props

Pass

should call onChange prop

Pass

should call onClick prop

Pass
Help and resources