Taeheon Kim
dc650ecdae
Update docs about an existence of .elementType ( #2145 )
...
Hi, I've met the same issue on [here](https://github.com/facebook/prop-types/issues/200 ) at storybook and found the following [PR](https://github.com/facebook/prop-types/pull/211 ) that adds the `elementType` feature. It could find the doc on npm, but not the official react site.
2019-07-14 01:34:36 +03:00
Vlad
4d1197b3be
Add description of PropTypes.exact ( #1581 )
...
Info from https://github.com/facebook/prop-types#usage
2019-06-29 11:05:42 -07:00
Nat Alison
25df15b83e
reapply, correctly generating links
2019-02-06 18:03:29 -08:00
Nat Alison
dc1e5366e3
revert id adding
2019-02-06 18:00:52 -08:00
Nat Alison
3e49e971d0
add everything else again
2019-02-06 17:22:04 -08:00
Eugene Kopich
b147d01e75
new "Flow" URL ( #838 )
2018-04-24 18:24:05 +01:00
Sam
2df0f5af4d
Pedantic language change ( #500 )
...
* Pedantic language change
This page led to the creation of a bad question on a job interview test, leading someone to believe that functions and objects are primitives. They are not.
https://developer.mozilla.org/en-US/docs/Glossary/Primitive
* Verbiage change
2018-01-08 19:23:54 +00:00
Mike Wilcox
ec575b1c97
Fix link ( #277 )
...
Fixes the link hash
2017-11-12 18:28:13 +00:00
Brian Vaughn
0021670de2
Removed an unnecessary new-line
2017-11-07 15:26:08 +00:00
kinyaying
b66d5442f9
Update typechecking-with-proptypes.md
...
Revert the code style and change the paragraph. And thanks for @bvaughn's advise.
2017-11-07 23:07:28 +08:00
kinyaying
400a2c6c1c
Update typechecking-with-proptypes.md
...
change the words
2017-11-05 19:10:48 +08:00
kinyaying
bf28861146
Update typechecking-with-proptypes.md
...
add 'javascript' after ```
2017-11-03 22:06:28 +08:00
kinyaying
bd04b6f8ab
Update typechecking-with-proptypes.md
...
1、Declare the defaultProps alone. And it is obeying AirBNB's styleguide.
2、Someone is confused about is it OK to put propTypes and defaultProps as static props inside React class. And we can explain about this question.
2017-11-03 19:05:20 +08:00
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
2017-10-04 14:48:45 -07:00