Skip to content

Commit

Permalink
Add note on PropTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-allanson committed Feb 13, 2018
1 parent 00c4ca6 commit 2bbee86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-transformer-react-docgen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ You'll also need to include a source-plugin, such as
[gatsby-source-filesystem](https://www.npmjs.com/package/gatsby-source-filesystem),
so that the transformer has access to source data.

Note that at least one of your React Components must have PropTypes defined.

## How to query

An example _graphql_ query to get nodes:
Expand Down

0 comments on commit 2bbee86

Please sign in to comment.