button
v1.1.1arrow_drop_downv1.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
Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
<Button type="submit" label="Submit" disabled={false} onClick={() => {}} extraClassNames={{button__class: true}} />
Properties
Name | Type | Default value |
---|---|---|
label | string | '' |
type | 'submit' | 'reset' | 'button' | 'button' |
disabled | bool | false |
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 |