diff --git a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts index 3af46711d867a4..e8d396e4a49b12 100644 --- a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts +++ b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts @@ -1,7 +1,8 @@ import * as React from 'react'; import { SxProps } from '@mui/system'; import { SlotComponentProps } from '@mui/base'; -import { InternalStandardProps as StandardProps, SvgIcon, Theme } from '..'; +import { ButtonBaseProps } from '../ButtonBase'; +import { SvgIcon, Theme } from '..'; import { TabScrollButtonClasses } from './tabScrollButtonClasses'; export interface TabScrollButtonStartIconSlotPropsOverrides {} @@ -11,7 +12,7 @@ export interface TabScrollButtonOwnerState extends TabScrollButtonProps { isRtl: boolean; } -export interface TabScrollButtonProps extends StandardProps> { +export interface TabScrollButtonProps extends ButtonBaseProps { /** * The content of the component. */ diff --git a/packages/mui-material/src/TabScrollButton/TabScrollButton.spec.tsx b/packages/mui-material/src/TabScrollButton/TabScrollButton.spec.tsx index c0449118ae062f..3fb299deb1d248 100644 --- a/packages/mui-material/src/TabScrollButton/TabScrollButton.spec.tsx +++ b/packages/mui-material/src/TabScrollButton/TabScrollButton.spec.tsx @@ -29,3 +29,6 @@ function SampleIcon() { }), }} />; + +// Test that ButtonBase props should be available +;