@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian products.
19 lines (18 loc) • 1.01 kB
TypeScript
/// <reference types="react" />
/**
* __Primary button__
*
* A primary button allows you to add top-level navigation items.
* Should be passed into `AtlassianNavigation`'s `primaryItems` prop.
*
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#dropdown-menu)
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
*/
export declare const PrimaryButton: import("react").ForwardRefExoticComponent<Omit<import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps, "appearance" | "onClick"> & {
component?: import("react").ComponentType<import("react").AllHTMLAttributes<HTMLElement>> | import("react").ElementType<any> | undefined;
isHighlighted?: boolean | undefined;
testId?: string | undefined;
tooltip?: import("react").ReactNode;
onClick?: ((event: import("react").MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: any) => void) | undefined;
} & import("react").RefAttributes<HTMLElement>>;
export default PrimaryButton;