button

v1.0.1arrow_drop_down
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
76
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
4 KB
Simple Button component
1 contributor
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
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
Button ()

Simple Button component

Properties
NameTypeDefault valueDescription
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
Help and resources