header

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 header as a package?
Copied
npm i @bit/ishayyemini.design-system-demo.header
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
Properties
NameTypeDefault valueDescription
background
string'lightyellow'

Color of header’s background.

color
string'red'

Color of buttons’ text.

items
(required)
{"text":"string","onClick":"function"}[]

Array of buttons to be rendered, with relevant text and onClick handler.

Test Summary
renders three buttons with a gray background
Pass
Help and resources