diff options
author | Steven Guerrero <42647963+Soremwar@users.noreply.github.com> | 2020-04-13 12:15:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 13:15:18 -0400 |
commit | 8397cd52a5ec915a0b5e85d337cfcc38f4aaa63f (patch) | |
tree | a36ae457fd502205153dc7f3b1f777ff1bf40924 /std/types/prop-types/README.md | |
parent | 25bd6868e5af9f30656dabeff9683b256e0a9370 (diff) |
Refactor std/types (#4713)
Diffstat (limited to 'std/types/prop-types/README.md')
-rw-r--r-- | std/types/prop-types/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/std/types/prop-types/README.md b/std/types/prop-types/README.md new file mode 100644 index 000000000..cd2c055d5 --- /dev/null +++ b/std/types/prop-types/README.md @@ -0,0 +1,15 @@ +Types for Facebook's Prop-Types library. + +[](https://www.npmjs.com/package/prop-types) + +You can use prop-types to document the intended types of properties passed to +functions and classes. This library is intended for his use alongside Facebook's +React library, but can be used freely for runtime type checking outside of the +React environment. + +### Usage Examples + +```typescript +// @deno-types="https://deno.land/std/types/prop-types/v15.7.2/prop-types.d.ts" +import PropTypes from "https://cdn.pika.dev/prop-types@15.7.2"; +``` |