button
v1.0.1arrow_drop_downv1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
76
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
4 KB
Simple Button component
1 contributor
Like
Install button as a package?
Copied
npm i @bit/joshk.react-components-library-template.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
chevron_left
chevron_right
Button ()
Simple Button component
Properties
Name | Type | Default value | Description |
---|---|---|---|
text | string | 'Click' | button text value |
onClick (required) | function | on click function | |
className | string | optional class to |
Test Summary
Button Component Testing Renders Button with Add text | Pass |