@dcp-ui/text

The `Text` component allows you to remain consistent with your text sizing and line-height. To add additional padding/margins use the `space` values from xstyled.

Usage no npm install needed!

<script type="module">
  import dcpUiText from 'https://cdn.skypack.dev/@dcp-ui/text';
</script>

README

@dcp-ui/text

The Text component from @dcp-ui.

desyre npm bundle size License PRs Welcome

Description

The Text component allows you to remain consistent with your text sizing and line-height. To add additional padding/margins use the space values from xstyled.

Installation

yarn add @dcp-ui/text @xstyled/styled-components @xstyled/system react react-dom styled-components

Import

import { Text } from '@dcp-ui/text'

Documentation

See the documentation or package source for more details.