Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
fix(propTypes): fix more deprecated Proptype usage (#51)
Browse files Browse the repository at this point in the history
Few more places PropTypes were being used from React instead of their
own module
  • Loading branch information
eddiemonge authored and hellobrian committed Jun 20, 2017
1 parent c259aec commit 470b763
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/Toolbar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import ToolbarSearch from './ToolbarSearch';
import classNames from 'classnames';

Expand Down
3 changes: 2 additions & 1 deletion components/Tooltip.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes, Component } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Icon from './Icon';
import classNames from 'classnames';
import FloatingMenu from '../internal/FloatingMenu';
Expand Down
3 changes: 2 additions & 1 deletion components/TooltipSimple.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import Icon from './Icon';
import classNames from 'classnames';

Expand Down

0 comments on commit 470b763

Please sign in to comment.