The base package for including typography for react-md.
npm install @react-md/typographyThis package is used to include typography into your application. There are 13
different font styles included with reasonable defaults, but they can also
easily be updated with custom values.
This package is mostly for generating the base typography onto different classes
throughout your app, but it also exposes Typography and TextContainer
components to help add typography throughout your app. There is also an
accessibility helper component named SrOnly that allows you to display text to
screen readers only.
If you'd like to change the typography values, check out the
SassDoc page on the
documentation site.
``sh`
npm install --save @react-md/typography
You should check out the
full documentation for live
examples and more customization information, but an example usage is shown
below.
`tsx
import { render } from "react-dom";
import { Typography, TextContainer } from "@react-md/typography";
const App = () => (
Caption
);
render(
``