Skip to content

Commit

Permalink
Add sync comment to GatsbyImage propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil authored Oct 22, 2019
1 parent 041cd46 commit 5f8a4ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/gatsby-image/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,10 @@ const fluidObject = PropTypes.shape({
media: PropTypes.string,
})

// If you modify these propTypes, please don't forget to update following files as well:
// ../index.d.ts → TypeScript type definitions
// ../README.md → #gatsby-image-props section
// ~/docs/docs/gatsby-image.md → #gatsby-image-props section
Image.propTypes = {
resolutions: fixedObject,
sizes: fluidObject,
Expand Down

0 comments on commit 5f8a4ad

Please sign in to comment.