DocSpace-client/web/ASC.Web.Storybook/stories/text/content-header
2019-07-24 15:32:17 +03:00
..
index.stories.js Web: Components: Text: Fixed truncate property, no more need 1000px dummy. 2019-07-24 15:32:17 +03:00
README.md Moved Storybook to separated ASC.Web.Storybook folder (issue: 'git clean -xdf' removes storybook files every time) 2019-07-09 17:54:30 +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
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