UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

44 lines (41 loc) 1.14 kB
import * as React from 'react'; import { SxProps } from '@mui/system'; import { InternalStandardProps as StandardProps, Theme } from '..'; import { TabScrollButtonClasses } from './tabScrollButtonClasses'; export interface TabScrollButtonProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial<TabScrollButtonClasses>; /** * The direction the button should indicate. */ direction: 'left' | 'right'; /** * If `true`, the component is disabled. */ disabled?: boolean; /** * The component orientation (layout flow direction). */ orientation: 'horizontal' | 'vertical'; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme>; } /** * * Demos: * * - [Tabs](https://mui.com/components/tabs/) * * API: * * - [TabScrollButton API](https://mui.com/api/tab-scroll-button/) */ export default function TabScrollButton(props: TabScrollButtonProps): JSX.Element;