@anouar99pac/component-text
v0.0.0
Published
This component is used to display text
Downloads
1
Readme
@ecw-title
This component is used to display text
Installation
npm install @emobg/component-text
Basic usage
HTML Structure
<EcwText></EcwText>
Inputs
Name | Required | Description | Values (default in bold) --- | --- | --- | --- color | no | the color of the text | disabled, standard-1, standard-2, standard-3, standard-4, highlight-1, highlight-2, highlight-3, promotional-1, warning-1, warning-2 textCase | no | the text case | uppercase, lowercase, capitalize, null tag | no | the html tag | h1, h2, h3, h4, h5, h6 size | no | the text size | xxs , xs, s, m, l, inherit weight | no | the text weight | regular, bold lineHeight | no | the text line height | s, m, l, null
Style customization
CSS class | Description --- | --- ecw-text | the main container Each input value is a modifier following EBM style Eg. ecw-text--color-standard-2