From 0a60f36878a98413ce5695e1d1d9143ba5de5713 Mon Sep 17 00:00:00 2001 From: Kevin Ghadyani Date: Wed, 12 Oct 2022 16:21:15 -0500 Subject: [PATCH] fix: updated Tabs stories to remove more unused boilerplate --- .../components/odyssey-mui/Tabs/Tabs.stories.tsx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/Tabs/Tabs.stories.tsx b/packages/odyssey-storybook/src/components/odyssey-mui/Tabs/Tabs.stories.tsx index 706013ce5a..cdaa3c9430 100644 --- a/packages/odyssey-storybook/src/components/odyssey-mui/Tabs/Tabs.stories.tsx +++ b/packages/odyssey-storybook/src/components/odyssey-mui/Tabs/Tabs.stories.tsx @@ -19,7 +19,6 @@ import { TabContext, TabList, TabPanel, - Typography, } from "@okta/odyssey-react-mui"; // import { TabContext, TabList, TabPanel } from "@mui/lab"; import { MuiThemeDecorator } from "../../../../.storybook/components"; @@ -55,19 +54,6 @@ export default { decorators: [MuiThemeDecorator], }; -interface TabPanelProps { - children?: React.ReactNode; - index: number; - value: number; -} - -function a11yProps(index: number) { - return { - id: `simple-tab-${index}`, - "aria-controls": `simple-tabpanel-${index}`, - }; -} - const DefaultTemplate: Story = (args) => { const [value, setValue] = React.useState(0);