react-interval-formatter
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -90,6 +90,6 @@ 'use strict'; | ||
IntervalFormatter.propTypes = { | ||
formatter: _react.PropTypes.func, | ||
value: _react.PropTypes.any | ||
formatter: _react2.default.PropTypes.func, | ||
value: _react2.default.PropTypes.any | ||
}; | ||
exports.default = IntervalFormatter; |
@@ -29,4 +29,4 @@ 'use strict'; | ||
IntervalFormatterPresenter.propTypes = { | ||
tag: _react.PropTypes.string, | ||
value: _react.PropTypes.node | ||
tag: _react2.default.PropTypes.string, | ||
value: _react2.default.PropTypes.node | ||
}; | ||
@@ -33,0 +33,0 @@ |
{ | ||
"name": "react-interval-formatter", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Update a value in realtime", | ||
@@ -5,0 +5,0 @@ "main": "lib/IntervalFormatter.js", |
@@ -1,2 +0,2 @@ | ||
import React, { Component, PropTypes } from 'react' | ||
import React, { Component } from 'react' | ||
import omit from 'lodash.omit' | ||
@@ -45,6 +45,6 @@ | ||
IntervalFormatter.propTypes = { | ||
formatter: PropTypes.func, | ||
value: PropTypes.any | ||
formatter: React.PropTypes.func, | ||
value: React.PropTypes.any | ||
} | ||
export default IntervalFormatter |
@@ -1,2 +0,2 @@ | ||
import React, { PropTypes } from 'react' | ||
import React from 'react' | ||
import omit from 'lodash.omit' | ||
@@ -14,4 +14,4 @@ | ||
IntervalFormatterPresenter.propTypes = { | ||
tag: PropTypes.string, | ||
value: PropTypes.node | ||
tag: React.PropTypes.string, | ||
value: React.PropTypes.node | ||
} | ||
@@ -18,0 +18,0 @@ |
147492