heading

v1.0.13arrow_drop_down
v1.0.13
v1.0.12
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
479
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
13 KB
Heading component
1 contributor
Install heading as a package?
Copied
npm i @bit/dennisdigital.components.molecules.heading
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
Heading ()

Heading component

Properties
NameTypeDefault value
size
number2
children
node''
href
stringnull
extraClassNames
{}{}
context
{}{}
Test Summary

should render without any props

Pass

checks the children props when in h1

Pass

checks the children props when in h2

Pass

check if Link component is rendered

Pass

check size props

Pass

check size props exists

Pass

check size validation

Pass

check extraClassNames props

Pass
Help and resources