Oleg Stepura 2017-03-29 00:13:52 +02:00 committed by Javi Velasco
parent 697b4d67ba
commit 509e846631
2 changed files with 1 additions and 4 deletions

View File

@ -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 {

View File

@ -1,3 +0,0 @@
export function isComponentOfType(classType, reactElement) {
return reactElement && reactElement.type === classType;
}