Skip to content

Commit

Permalink
docs(gatsby-plugin-typography): show how to export helper functions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews authored and wardpeet committed Apr 8, 2019
1 parent 530e087 commit 881e5a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-plugin-typography/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import grandViewTheme from "typography-theme-grand-view"

const typography = new Typography(grandViewTheme)

// Export helper functions
export const { scale, rhythm, options } = typography
export default typography
```

Expand Down

0 comments on commit 881e5a7

Please sign in to comment.