| 1 |
/// <reference types="react" /> |
| 2 |
import { PopperOptions } from '../../helpers'; |
| 3 |
import { TabProps } from './Tab'; |
| 4 |
/** @deprecated Use PopperOptions instead */ |
| 5 |
export type HorizontalOverflowPopperProps = PopperOptions; |
| 6 |
export interface OverflowTabProps extends React.HTMLProps<HTMLLIElement> { |
| 7 |
/** Additional classes added to the overflow tab */ |
| 8 |
className?: string; |
| 9 |
/** The tabs that should be displayed in the menu */ |
| 10 |
overflowingTabs?: TabProps[]; |
| 11 |
/** Flag which shows the count of overflowing tabs when enabled */ |
| 12 |
showTabCount?: boolean; |
| 13 |
/** The text which displays when an overflowing tab isn't selected */ |
| 14 |
defaultTitleText?: string; |
| 15 |
/** The aria label applied to the button which toggles the tab overflow menu */ |
| 16 |
toggleAriaLabel?: string; |
| 17 |
/** z-index of the overflow tab */ |
| 18 |
zIndex?: number; |
| 19 |
/** Flag indicating if scroll on focus of the first menu item should occur. */ |
| 20 |
shouldPreventScrollOnItemFocus?: boolean; |
| 21 |
/** Time in ms to wait before firing the toggles' focus event. Defaults to 0 */ |
| 22 |
focusTimeoutDelay?: number; |
| 23 |
/** Additional props to spread to the popper menu. */ |
| 24 |
popperProps?: PopperOptions; |
| 25 |
} |
| 26 |
export declare const OverflowTab: React.FunctionComponent<OverflowTabProps>; |
| 27 |
//# sourceMappingURL=OverflowTab.d.ts.map |