react-immutable-proptypes
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "react-immutable-proptypes", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "PropType validators that work with Immutable.js.", | ||
@@ -30,3 +30,3 @@ "main": "dist/ImmutablePropTypes.js", | ||
"peerDependencies": { | ||
"react": "^0.12.2", | ||
"react": ">=0.11.0", | ||
"immutable": "^3.6.2" | ||
@@ -33,0 +33,0 @@ }, |
# react-immutable-proptypes | ||
[![npm package](https://img.shields.io/npm/v/react-immutable-proptypes.svg?style=flat)](https://www.npmjs.org/package/react-immutable-proptypes) [![Code Climate](https://codeclimate.com/github/HurricaneJames/react-immutable-proptypes/badges/gpa.svg)](https://codeclimate.com/github/HurricaneJames/react-immutable-proptypes) [![Test Coverage](https://codeclimate.com/github/HurricaneJames/react-immutable-proptypes/badges/coverage.svg)](https://codeclimate.com/github/HurricaneJames/react-immutable-proptypes) | ||
PropType validators that work with Immutable.js. | ||
@@ -10,3 +12,3 @@ | ||
Usage is simple, they are work with and like any `React.PropType.*` validator. | ||
Usage is simple, they work with and like any `React.PropType.*` validator. | ||
@@ -17,4 +19,4 @@ var ImmutablePropTypes = require('react-immutable-proptypes'); | ||
propTypes: { | ||
myRequiredImmutableList: ImmutableTypes.listOf( | ||
ImmutableTypes.shape({ | ||
myRequiredImmutableList: ImmutablePropTypes.listOf( | ||
ImmutablePropTypes.shape({ | ||
someNumberProp: React.PropTypes.number.isRequired | ||
@@ -21,0 +23,0 @@ }) |
62210
23
60