import React from "react"; import { Tabs as BaseTabs } from "baseui/tabs-motion"; import { BrandColors } from "../tokens/colors"; export interface TabsProps { children: React.ReactNode; } /** * This is the `` component
* Use this navigate the user to certain parts of a page */ const Tabs: React.FC = (props) => { const [activeKey, setActiveKey] = React.useState("0"); return ( { setActiveKey(tab.activeKey.toString()); }} activateOnFocus overrides={{ TabList: { style: () => ({}) }, TabHighlight: { style: () => ({ backgroundColor: BrandColors.primary.toString(), }), }, }} > {props.children} ); }; export default Tabs;