UNPKG

@atlaskit/button

Version:

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

20 lines (19 loc) 945 B
import React from 'react'; import { type BaseProps } from './types'; export interface ButtonProps extends BaseProps { } /** * __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 button triggers an event or action. They let users know what will happen next. * * - [Examples](https://atlassian.design/components/button/button-legacy/examples) * - [Code](https://atlassian.design/components/button/button-legacy/code) * - [Usage](https://atlassian.design/components/button/button-legacy/usage) */ declare const Button: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>>; export default Button;