Text
Usage
import { Text } from 'asc-web-components';
Wraps the given text in the specified size of the content header.
Usage
<Text.ContentHeader title='Some title' isInline>
Some text
</Text.ContentHeader>
Properties
Props |
Type |
Required |
Values |
Default |
Description |
color |
string |
- |
- |
'#333333' |
Specifies the contentHeader color |
isDisabled |
bool |
- |
- |
false |
Marks text as disabled |
title |
bool |
- |
- |
- |
Title |
truncate |
bool |
- |
- |
false |
Disables word wrapping |
isInline |
bool |
- |
- |
false |
Sets the 'display: inline-block' property |