UNPKG

874 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '@material-ui/core';
3
4export interface TabScrollButtonProps
5 extends StandardProps<React.HTMLAttributes<HTMLDivElement>, TabScrollButtonClassKey> {
6 /**
7 * The content of the component.
8 */
9 children?: React.ReactNode;
10 /**
11 * Which direction should the button indicate?
12 */
13 direction: 'left' | 'right';
14 /**
15 * If `true`, the element will be disabled.
16 */
17 disabled?: boolean;
18 /**
19 * The tabs orientation (layout flow direction).
20 */
21 orientation: 'horizontal' | 'vertical';
22}
23
24export type TabScrollButtonClassKey = 'root' | 'vertical' | 'disabled';
25/**
26 *
27 * Demos:
28 *
29 * - [Tabs](https://mui.com/components/tabs/)
30 *
31 * API:
32 *
33 * - [TabScrollButton API](https://mui.com/api/tab-scroll-button/)
34 */
35export default function TabScrollButton(props: TabScrollButtonProps): JSX.Element;