button

v1.0.1arrow_drop_down
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
21
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
17 KB
1 contributor
Install button as a package?
Copied
npm i @bit/ishayyemini.design-system-demo.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
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
text
(required)
string

Button’s content.

onClick
function

Function to run when clicking on the button.

background
string'lightyellow'

Color of button’s background.

color
string'red'

Color of button’s text.

Test Summary
Pass
Pass
Help and resources