@materialr/typography
v1.1.2
Published
Material typography implementation for React
Downloads
27
Readme
MaterialR Typography
@materialr/typography
Material typography implementation for React
Installation
$ npm install --save @materialr/typography
Demo
A full demo is available on the MaterialR website showcasing all variants.
Components
Named exports
import {
Body1,
Body2,
Button,
Caption,
Headline1,
Headline2,
Headline3,
Headline4,
Headline5,
Headline6,
Overline,
Subtitle1,
Subtitle2,
} from '@material/typography';
Props
All named components have the same props:
| Prop | Type | Required | Default | Description |
| ----------- | ----------- | -------- | --------- | ----------------------------- |
| children
| node/string | Yes | undefined | The children to render within |
| className
| string | No | undefined | Additional classNames to add |