From d32fa4d2cce81f2ee54c1d4aa1b9f8cfc75d48a9 Mon Sep 17 00:00:00 2001 From: echenley Date: Sun, 20 Sep 2015 15:58:52 -0500 Subject: [PATCH] destructure proptypes --- src/js/components/Icon.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/components/Icon.jsx b/src/js/components/Icon.jsx index f372ac9..d155bc3 100644 --- a/src/js/components/Icon.jsx +++ b/src/js/components/Icon.jsx @@ -1,10 +1,10 @@ 'use strict'; -import React from 'react/addons'; +import React, { PropTypes } from 'react/addons'; const Icon = React.createClass({ propTypes: { - svg: React.PropTypes.string.isRequired, + svg: PropTypes.string.isRequired }, render() {