import React, { FunctionComponent, HTMLAttributes } from 'react'; import getClassName from '../../helpers/getClassName'; import classNames from '../../lib/classNames'; import { HasRootRef } from '../../types'; import usePlatform from '../../hooks/usePlatform'; export interface TabsProps extends HTMLAttributes, HasRootRef { mode: 'default' | 'buttons' | 'segmented'; } const Tabs: FunctionComponent = ({ className, children, style, mode, getRootRef, ...restProps }: TabsProps) => { const platform = usePlatform(); return (
{children}
); }; Tabs.defaultProps = { mode: 'default', }; export default Tabs;