UNPKG

904 BTypeScriptView Raw
1import * as React from 'react';
2import { OUIAProps } from '../../helpers';
3export 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}
15export declare const TabButton: React.FunctionComponent<TabButtonProps>;
16//# sourceMappingURL=TabButton.d.ts.map
\No newline at end of file