1 contributor
Like
Install information-block as a package?
Copied
npm i @bit/clui.nui-ui.blocks.tutorial.information-block
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
Description
For block contains text inside an information card.
Import from bit.dev
https://bit.dev/clui/nui-ui/blocks/tutorial/information-block
yarn add @bit/clui.nui-ui.blocks.tutorial.information-block
import InformationBlock from '@bit/clui.nui-ui.blocks.tutorial.information-block';
Props
This component inherits ui/common/section-block. Please refer to /?path=/story/ui-common-sectionblock–default for all the inherited props.
Below are the props defined for this component:
Name | Type | Default | Description |
---|---|---|---|
html* | string | - | - |
remarksHtml | string | - | - |
bgcolor | ‘left’ | ‘right’ | ‘inherit’ | ‘center’ | ‘justify’ | - | - |
cardColor | ‘white’ | ‘lightgrey’ | - | - |
icon | React.ReactElement | - | - |
iconBoxColor | ‘primary’ | ‘secondary’ | ‘success’ | ‘error’ | - | - |