0.1.0-alpha.8656cb28 • Published 8 years ago

@hig/rich-text v0.1.0-alpha.8656cb28

Weekly downloads
216
License
Apache-2.0
Repository
github
Last release
8 years ago

Rich Text

The Rich Text component applies the HIG typography styles to whatever is passed to it, whether that be React children or regular HTML. This is particularly useful for styling markdown content.

Read more about when and how to use the Typography components on the HIG website.

Getting started

yarn add @hig/typography

Import the component and CSS

import RichText from '@hig/rich-text';
import '@hig/rich-text/build/index.css';

Basic usage

<RichText>
  <h1>Make Your Rich Text Richer</h1>
  <p>All you need to do is wrap it in a <pre><RichText></pre> component.</p>
</RichText>
2.2.0

4 years ago

2.1.1

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

2.0.0

4 years ago

2.1.0

4 years ago

1.2.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago