@zendeskgarden/react-typography
Version:
Components relating to typography in the Garden Design System
28 lines (20 loc) • 770 B
Markdown
# /react-typography [](https://www.npmjs.com/package/@zendeskgarden/react-typography)
This package includes components relating to typography in the
[Garden Design System](https://zendeskgarden.github.io/).
## Installation
```sh
npm install /react-typography
# Peer Dependencies - Also Required
npm install react react-dom styled-components /react-theming
```
## Usage
```jsx
import { ThemeProvider } from '/react-theming';
import { SM } from '/react-typography';
/**
* Place a `ThemeProvider` at the root of your React application
*/
<ThemeProvider>
<SM>This is some small body text</SM>;
</ThemeProvider>;
```