hero-button

v1.0.2arrow_drop_down
v1.0.2
v1.0.1
STATUS
Passing
DOWNLOADS
2,138
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
4 KB
CTA button for `Hero` featured content
2 contributors
Install hero-button as a package?
Copied
npm i @bit/bit.movie-app.components.hero-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
HeroButton ()

CTA button for Hero featured content

Example
<HeroButton text="Im a Hero!" primary />
Properties
NameTypeDefault valueDescription
primary
booltrue

determines is a primary button (emphasized)

text
string'Hero Button!'

label to be displayed within the button

Test Summary

#HeroButton Should render

Pass

#HeroButton Should contain text REACT SF

Pass
Help and resources