1 contributor
Like
Install text as a package?
Copied
npm i @bit/dennisdigital.components.atoms.text
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
Text ()
Text component
Properties
Name | Type | Default value |
---|---|---|
content | string | '' |
span | bool | true |
extraClassNames | {} | {} |
context | {} | {} |
Test Summary
should render without any props | Pass |
check content props | Pass |
check content props without span wrapper | Pass |
check content props type | Pass |
check span props | Pass |
check span props type | Pass |
check extraClassNames props | Pass |
check extraClassNames props type | Pass |