Skip to content

Commit

Permalink
[gatsby-transformer-react-docgen] Add note on PropTypes (#4008)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-allanson authored and fk committed Feb 13, 2018
1 parent 00c4ca6 commit 446d15d
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 446d15d

Please sign in to comment.