Skip to content

Commit

Permalink
fix: updated Tabs stories to remove more unused boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGhadyani-Okta committed Oct 12, 2022
1 parent 18b9739 commit 0a60f36
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 0a60f36

Please sign in to comment.