Skip to content

Commit

Permalink
(PLAT)-Remove react boottsrap table for experimentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rajmaddy89 committed Sep 13, 2023
1 parent 7e26b66 commit e82b291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion managed/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
"react-beautiful-dnd": "13.1.1",
"react-bootstrap": "0.33.1",
"react-bootstrap-multiselect": "2.4.1",
"react-bootstrap-table": "4.3.1",
"react-day-picker": "7.4.10",
"react-dom": "17.0.2",
"react-dropzone": "14.2.3",
Expand Down
6 changes: 3 additions & 3 deletions managed/ui/src/stories/YBTabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default meta;
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
export const Tabs = (args: any) => {
// More on args: https://storybook.js.org/docs/react/writing-stories/args
const [currentTab, setTab] = useState<string>('tab1');
const [currentTab, setTab] = useState<string>('tab11');

const handleChange = (_: any, tab: string) => {
setTab(tab);
Expand All @@ -31,12 +31,12 @@ export const Tabs = (args: any) => {
aria-label="tab section example"
{...args}
>
<MUItab label="YugabyteDB Open Source" value="tab1" disabled={args.disabled} />
<MUItab label="YugabyteDB Open Source" value="tab11" disabled={args.disabled} />
<MUItab label="Yugabyte Platform" value="tab2" disabled={args.disabled} />
<MUItab label="YugabyteDB Managed" value="tab3" disabled={args.disabled} />
</MUITabs>
<Box>
{currentTab === 'tab1' && (
{currentTab === 'tab11' && (
<Box m={2}>
<Typography variant="h2">{'YugabyteDB Open Source'}</Typography>
<Box mt={1}>
Expand Down

0 comments on commit e82b291

Please sign in to comment.