UNPKG

@atlaskit/button

Version:

A button triggers an event or action. They let users know what will happen next.

17 lines (16 loc) 974 B
import React from 'react'; import type { BaseProps } from '../types'; import { type CustomThemeButtonOwnProps } from './custom-theme-button-types'; /** * __Custom theme button__ * * @deprecated Legacy buttons are deprecated and will be removed from `atlaskit/button` in an upcoming major release. Please use the new Button components from `@atlaskit/button/new` * * Please refer to the [migration guide](https://atlassian.design/components/button/button-legacy/migration-guide) for further details. * * A custom theme button. Avoid using this component. It exists for those already using custom theming, which is hard to use and has performance issues. * * - [Examples](https://atlassian.design/components/button/examples#custom-theme-button) */ declare const CustomThemeButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<BaseProps, 'overlay'> & CustomThemeButtonOwnProps & React.RefAttributes<HTMLElement>>>; export default CustomThemeButton;