1 | import * as React from 'react';
|
2 | import { SxProps } from '@mui/system';
|
3 | import { SlotComponentProps } from '../utils/types';
|
4 | import { ButtonBaseProps } from '../ButtonBase';
|
5 | import { SvgIcon, Theme } from '..';
|
6 | import { TabScrollButtonClasses } from './tabScrollButtonClasses';
|
7 |
|
8 | export interface TabScrollButtonStartIconSlotPropsOverrides {}
|
9 | export interface TabScrollButtonEndIconSlotPropsOverrides {}
|
10 |
|
11 | export interface TabScrollButtonOwnerState extends TabScrollButtonProps {
|
12 | isRtl: boolean;
|
13 | }
|
14 |
|
15 | export interface TabScrollButtonProps extends ButtonBaseProps {
|
16 | |
17 |
|
18 |
|
19 | children?: React.ReactNode;
|
20 | |
21 |
|
22 |
|
23 | classes?: Partial<TabScrollButtonClasses>;
|
24 | |
25 |
|
26 |
|
27 |
|
28 | slots?: {
|
29 | StartScrollButtonIcon?: React.ElementType;
|
30 | EndScrollButtonIcon?: React.ElementType;
|
31 | };
|
32 | |
33 |
|
34 |
|
35 |
|
36 |
|
37 | slotProps?: {
|
38 | startScrollButtonIcon?: SlotComponentProps<
|
39 | typeof SvgIcon,
|
40 | TabScrollButtonStartIconSlotPropsOverrides,
|
41 | TabScrollButtonOwnerState
|
42 | >;
|
43 | endScrollButtonIcon?: SlotComponentProps<
|
44 | typeof SvgIcon,
|
45 | TabScrollButtonEndIconSlotPropsOverrides,
|
46 | TabScrollButtonOwnerState
|
47 | >;
|
48 | };
|
49 | |
50 |
|
51 |
|
52 | direction: 'left' | 'right';
|
53 | |
54 |
|
55 |
|
56 |
|
57 | disabled?: boolean;
|
58 | |
59 |
|
60 |
|
61 | orientation: 'horizontal' | 'vertical';
|
62 | |
63 |
|
64 |
|
65 | sx?: SxProps<Theme>;
|
66 | }
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 |
|
78 | export default function TabScrollButton(props: TabScrollButtonProps): React.JSX.Element;
|