import React from 'react'; import {decorate, getTabProps} from '../utils/plugins'; import Tab_ from './tab'; import type {TabsProps} from '../hyper'; import DropdownButton from './new-tab'; const Tab = decorate(Tab_, 'Tab'); const isMac = /Mac/.test(navigator.userAgent); const Tabs = (props: TabsProps) => { const {tabs = [], borderColor, onChange, onClose, fullScreen} = props; const hide = !isMac && tabs.length === 1; return ( ); }; export default Tabs;