button

v1.1.1arrow_drop_down
v1.1.1
v1.1.0
v1.0.6
v1.0.5
v1.0.4
v1.0.0
STATUS
Failing
DOWNLOADS
555
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
4 KB
Button component
2 contributors
Install button as a package?
Copied
npm i @bit/dennisdigital.components.atoms.button
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
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
<Button type="submit" label="Submit" disabled={false} onClick={() => {}} extraClassNames={{button__class: true}} />
Properties
NameTypeDefault value
label
string''
type
'submit' | 'reset' | 'button''button'
disabled
boolfalse
onClick
function() => {}
extraClassNames
{}{}
context
{}{}
Test Summary

should render without any props

Skipped

check type props

Skipped

check label props

Skipped

check disabled props

Skipped

check onClick props

Skipped

check extraClassNames props

Skipped
Help and resources