DocSpace-buildtools/web/ASC.Web.Storybook/stories/text/content-header
2019-08-07 11:18:42 +03:00
..
index.stories.js web: components: Text: Color property is now custom 2019-08-07 11:18:42 +03:00
README.md web: components: Text: Color property is now custom 2019-08-07 11:18:42 +03:00

Text

Usage

import { Text } from 'asc-web-components';

<Text.ContentHeader>

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