diff --git a/components/radio/RadioGroup.js b/components/radio/RadioGroup.js index beeaa0b5..a0488894 100644 --- a/components/radio/RadioGroup.js +++ b/components/radio/RadioGroup.js @@ -2,7 +2,7 @@ import React, { Component, PropTypes } from 'react'; import { themr } from 'react-css-themr'; import { RADIO } from '../identifiers'; import InjectRadioButton from './RadioButton'; -import { isComponentOfType } from '../utils/react'; +import isComponentOfType from '../utils/is-component-of-type'; const factory = (RadioButton) => { class RadioGroup extends Component { diff --git a/components/utils/react.js b/components/utils/react.js deleted file mode 100644 index 1b3f7897..00000000 --- a/components/utils/react.js +++ /dev/null @@ -1,3 +0,0 @@ -export function isComponentOfType(classType, reactElement) { - return reactElement && reactElement.type === classType; -}