From 8397cd52a5ec915a0b5e85d337cfcc38f4aaa63f Mon Sep 17 00:00:00 2001 From: Steven Guerrero <42647963+Soremwar@users.noreply.github.com> Date: Mon, 13 Apr 2020 12:15:18 -0500 Subject: Refactor std/types (#4713) --- std/types/prop-types/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 std/types/prop-types/README.md (limited to 'std/types/prop-types/README.md') 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. + +[![npm version](https://img.shields.io/npm/v/prop-types.svg?style=flat)](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"; +``` -- cgit v1.2.3