Skip to content

Commit a16dd04

Browse files
authored
Merge pull request #136 from ChrisSargent/master
Fix for deprecated PropTypes in React 16
2 parents f130550 + 7cc6c04 commit a16dd04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Polygon.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes as T } from 'react'
1+
import T from 'prop-types';
2+
import React from 'react';
23

34
import { camelize } from '../lib/String'
45
const evtNames = ['click', 'mouseout', 'mouseover'];

0 commit comments

Comments
 (0)