import React from 'react'; import {decorate, getTabProps} from '../utils/plugins'; import Tab_ from './tab'; const Tab = decorate(Tab_, 'Tab'); const isMac = /Mac/.test(navigator.userAgent); export default class Tabs extends React.PureComponent { render() { const {tabs = [], borderColor, onChange, onClose, fullScreen} = this.props; const hide = !isMac && tabs.length === 1; return ( ); } }