import * as React from "react"; import { Tabs, Tab, StyledTabList, StyledTabPanel } from "baseui/tabs-motion"; import { Grid, Cell } from "baseui/layout-grid"; const TabsOverrides = { TabList: { component: function TabsListOverride(props: any) { return ( ); }, }, }; const TabOverrides = { TabPanel: { component: function TabPanelOverride(props: any) { return ( ); }, }, }; export default function Example() { const [activeKey, setActiveKey] = React.useState(0); return ( setActiveKey(activeKey)} overrides={TabsOverrides} > I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. ); }