Check out example codes for "install gatsby typography". It will help you in understanding the concepts better.

Code Example 1

npm install --save gatsby-plugin-typography react-typography typography typography-theme-fairy-gates


# Yarn
yarn add gatsby-plugin-typography react-typography typography typography-theme-fairy-gates

Learn ReactJs, React Native from akashmittal.com