Skip to content

Commit

Permalink
Merge pull request #12 from arielserafini/master
Browse files Browse the repository at this point in the history
update PropTypes to use standalone prop-types package (React >15.5)
  • Loading branch information
trotzig authored May 9, 2017
2 parents 75dea76 + 8ff05a2 commit 62572e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-simple-pie-chart",
"version": "0.4.0",
"version": "0.4.1",
"description": "A React component to generate simple pie charts.",
"main": "build/npm/pie_chart.js",
"repository": {
Expand Down Expand Up @@ -42,6 +42,7 @@
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.6",
"karma-webpack": "^1.7.0",
"prop-types": "^15.5.8",
"react": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0",
Expand Down
2 changes: 1 addition & 1 deletion src/pie_chart.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';

const { PropTypes } = React;
const size = 100;
const radCircumference = Math.PI * 2;
const center = size / 2;
Expand Down

0 comments on commit 62572e9

Please sign in to comment.