| 1 |
/// <reference types="react" /> |
| 2 |
import { OUIAProps } from '../../helpers'; |
| 3 |
export interface TabButtonProps extends Omit<React.HTMLProps<HTMLAnchorElement | HTMLButtonElement>, 'ref'>, OUIAProps { |
| 4 |
/** content rendered inside the Tab content area. */ |
| 5 |
children?: React.ReactNode; |
| 6 |
/** additional classes added to the Tab */ |
| 7 |
className?: string; |
| 8 |
/** URL associated with the Tab. A Tab with an href will render as an <a> instead of a <button>. A Tab inside a <Tabs component="nav"> should have an href. */ |
| 9 |
href?: string; |
| 10 |
/** child reference for case in which a TabContent section is defined outside of a Tabs component */ |
| 11 |
tabContentRef?: React.Ref<any>; |
| 12 |
/** Parents' innerRef passed down for properly displaying Tooltips */ |
| 13 |
parentInnerRef?: React.Ref<any>; |
| 14 |
} |
| 15 |
export declare const TabButton: React.FunctionComponent<TabButtonProps>; |
| 16 |
//# sourceMappingURL=TabButton.d.ts.map |