Skip to content

Commit

Permalink
Update typechecking-with-proptypes.md (#325)
Browse files Browse the repository at this point in the history
Co-authored-by: Haegul Pyun <phg2491@gmail.com>
  • Loading branch information
ABlued and hg-pyun authored Jun 26, 2021
1 parent 5918426 commit 455f7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/typechecking-with-proptypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ MyComponent.propTypes = {
fontSize: PropTypes.number
}),

// An object with warnings on extra properties
// 추가 프로퍼티에 대한 경고가 있는 객체
optionalObjectWithStrictShape: PropTypes.exact({
name: PropTypes.string,
quantity: PropTypes.number
Expand Down

0 comments on commit 455f7dd

Please sign in to comment.