File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import React, { Component } from 'react';
22import PropTypes from 'prop-types' ;
33import classnames from 'classnames' ;
44import { themr } from 'react-css-themr' ;
5- import { FontIcon } from '../font_icon' ;
65import { TABS } from '../identifiers' ;
76import rippleFactory from '../ripple/Ripple' ;
7+ import InjectFontIcon from '../font_icon/FontIcon' ;
88
9- const factory = ( ripple ) => {
9+ const factory = ( ripple , FontIcon ) => {
1010 class Tab extends Component {
1111 static propTypes = {
1212 active : PropTypes . bool ,
@@ -77,7 +77,7 @@ const factory = (ripple) => {
7777 return ripple ( Tab ) ;
7878} ;
7979
80- const Tab = factory ( rippleFactory ( { centered : false } ) ) ;
80+ const Tab = factory ( rippleFactory ( { centered : false } ) , InjectFontIcon ) ;
8181export default themr ( TABS ) ( Tab ) ;
8282export { factory as tabFactory } ;
8383export { Tab } ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import theme from './theme.css';
99
1010const applyTheme = Component => themr ( TABS , theme ) ( Component ) ;
1111const ThemedTabContent = applyTheme ( TabContent ) ;
12- const ThemedTab = applyTheme ( tabFactory ( themedRippleFactory ( { centered : false } ) ) ) ;
12+ const ThemedTab = applyTheme ( tabFactory ( themedRippleFactory ( { centered : false } ) , FontIcon ) ) ;
1313const ThemedTabs = applyTheme ( tabsFactory ( ThemedTab , ThemedTabContent , FontIcon ) ) ;
1414
1515export { ThemedTab as Tab } ;
You can’t perform that action at this time.
0 commit comments