@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian products.
15 lines (14 loc) • 800 B
TypeScript
import React from 'react';
/**
* __Icon button__
*
* An icon button is used to create navigation items such as Help, Settings
* and Notifications. You can use this component to create your own items to
* pass into `AtlassianNavigation`'s render props, but where possible you should
* rely on the defaults.
*
*/
export declare const IconButton: React.ForwardRefExoticComponent<import("./types").BaseIconButtonProps & {
icon: React.ReactChild | undefined;
theme?: ((current: (props: import("@atlaskit/button/custom-theme-button").ThemeProps) => import("@atlaskit/button/custom-theme-button").ThemeTokens, props: import("@atlaskit/button/custom-theme-button").ThemeProps) => import("@atlaskit/button/custom-theme-button").ThemeTokens) | undefined;
} & React.RefAttributes<HTMLElement>>;