| 1 |
/// <reference types="react" /> |
| 2 |
import { OUIAProps } from '../../helpers'; |
| 3 |
export interface TabActionProps extends Omit<React.HTMLProps<HTMLButtonElement>, 'ref' | 'type' | 'size'>, OUIAProps { |
| 4 |
/** Content rendered in the tab action */ |
| 5 |
children?: React.ReactNode; |
| 6 |
/** Additional classes added to the tab action span */ |
| 7 |
className?: string; |
| 8 |
/** Click callback for tab action button */ |
| 9 |
onClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void; |
| 10 |
/** Flag indicating if the tab action is disabled */ |
| 11 |
isDisabled?: boolean; |
| 12 |
/** Accessible label for the tab action */ |
| 13 |
'aria-label'?: string; |
| 14 |
/** @hide Callback for the section ref */ |
| 15 |
innerRef?: React.Ref<any>; |
| 16 |
} |
| 17 |
export declare const TabAction: import("react").ForwardRefExoticComponent<TabActionProps & import("react").RefAttributes<HTMLElement>>; |
| 18 |
//# sourceMappingURL=TabAction.d.ts.map |