Skip to content

Commit

Permalink
Merge pull request #118 from balena-io-modules/tabs-scrollable
Browse files Browse the repository at this point in the history
Tabs: Use MUI's `scrollable` variant
  • Loading branch information
myarmolinsky authored Sep 26, 2024
2 parents 14e4731 + 2d91103 commit ad54a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Tabs = ({
]}
{...boxProps}
>
<TabList onChange={handleChange}>
<TabList onChange={handleChange} variant="scrollable">
{tabs.map(({ label, tabProps }, index) => (
<Tab label={label} value={index.toString()} {...tabProps} />
))}
Expand Down

0 comments on commit ad54a79

Please sign in to comment.