Skip to content

Commit a1f2e1f

Browse files
committed
fix(mui): fix default color in tab
1 parent 4861c3d commit a1f2e1f

File tree

1 file changed

+1
-1
lines changed
  • packages/mui-component-mapper/src/tabs

1 file changed

+1
-1
lines changed

packages/mui-component-mapper/src/tabs/tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const FormTabs = ({ fields, AppBarProps, TabsProps, TabProps }) => {
1919
return (
2020
<div>
2121
<AppBar position="static" {...AppBarProps}>
22-
<Tabs value={activeTab} onChange={(_e, tabIndex) => setActiveTab(tabIndex)} {...TabsProps}>
22+
<Tabs textColor="inherit" value={activeTab} onChange={(_e, tabIndex) => setActiveTab(tabIndex)} {...TabsProps}>
2323
{fields.map(({ title, name }) => (
2424
<Tab key={name} label={title} {...TabProps} />
2525
))}

0 commit comments

Comments
 (0)