diff --git a/packages/frontend/src/pages/components/index.tsx b/packages/frontend/src/pages/components/index.tsx index 19e3aa73..c1c46f6c 100644 --- a/packages/frontend/src/pages/components/index.tsx +++ b/packages/frontend/src/pages/components/index.tsx @@ -8,7 +8,11 @@ import { import { avatars, avatarsFallback } from './renders/avatar'; import { renderBadges } from './renders/badge'; import { renderButtonIcons, renderButtons } from './renders/button'; -import { renderTabWithBadges, renderTabs } from './renders/tabs'; +import { + renderTabWithBadges, + renderTabs, + renderVerticalTabs, +} from './renders/tabs'; const Page = () => { const [singleDate, setSingleDate] = useState(); @@ -101,10 +105,12 @@ const Page = () => { {/* Tabs */}

Tabs

-
+
{renderTabs()} {renderTabWithBadges()}
+

Vertical Tabs

+ {renderVerticalTabs()}
diff --git a/packages/frontend/src/pages/components/renders/tabs.tsx b/packages/frontend/src/pages/components/renders/tabs.tsx index ab5dbc78..d344317e 100644 --- a/packages/frontend/src/pages/components/renders/tabs.tsx +++ b/packages/frontend/src/pages/components/renders/tabs.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { Tabs } from 'components/shared/Tabs'; import { Badge } from 'components/shared/Badge'; +import { GlobeIcon } from 'components/shared/CustomIcon'; const tabs = Array.from({ length: 8 }); @@ -35,3 +36,21 @@ export const renderTabWithBadges = () => { ); }; + +export const renderVerticalTabs = () => { + return ( + + + {tabs.slice(0, 4).map((_, index) => ( + } + value={index.toString()} + > + Tab item {index} + + ))} + + + ); +};