heading
v1.0.13arrow_drop_downv1.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
Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
Heading ()
Heading component
Properties
Name | Type | Default value |
---|---|---|
size | number | 2 |
children | node | '' |
href | string | null |
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 |