import * as React from 'react';
import { usePlatform } from '../../utils/platform';
import TabsH5 from './tabsH5';
import TabsPc from './tabsPc';

export default function Tabs(props) {
  const platform = usePlatform();

  return platform === 'h5' ? <TabsH5 {...props} /> : <TabsPc {...props} />;
}
