Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 770 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 770 Bytes

@zendeskgarden/react-typography npm version

This package includes components relating to typography in the Garden Design System.

Installation

npm install @zendeskgarden/react-typography

# Peer Dependencies - Also Required
npm install react react-dom styled-components @zendeskgarden/react-theming

Usage

import { ThemeProvider } from '@zendeskgarden/react-theming';
import { SM } from '@zendeskgarden/react-typography';

/**
 * Place a `ThemeProvider` at the root of your React application
 */
<ThemeProvider>
  <SM>This is some small body text</SM>;
</ThemeProvider>;