Skip to content

Commit c95b272

Browse files
committed
just let other handle tabindex
1 parent acab5f8 commit c95b272

File tree

1 file changed

+0
-3
lines changed
  • packages/mui-material/src/Tab

1 file changed

+0
-3
lines changed

packages/mui-material/src/Tab/Tab.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,6 @@ const Tab = React.forwardRef(function Tab(inProps, ref) {
211211
textColor = 'inherit',
212212
value,
213213
wrapped = false,
214-
// eslint-disable-next-line react/prop-types
215-
tabIndex,
216214
...other
217215
} = props;
218216

@@ -267,7 +265,6 @@ const Tab = React.forwardRef(function Tab(inProps, ref) {
267265
onClick={handleClick}
268266
onFocus={handleFocus}
269267
ownerState={ownerState}
270-
tabIndex={tabIndex}
271268
{...other}
272269
>
273270
{iconPosition === 'top' || iconPosition === 'start' ? (

0 commit comments

Comments
 (0)