UNPKG

@atlaskit/section-message

Version:

A section message is used to alert users to a particular section of the screen.

13 lines (12 loc) 646 B
import type { SectionMessageActionProps } from './types'; /** * __Section message action__ * * A section message action is designed to work with the `action` prop from * `SectionMessage`. It renders either a button or a link depending on whether * an `onClick` or `href` prop is supplied, with a dot separator in between actions. * * - [Examples](https://atlassian.design/components/section-message/examples#actions) */ declare const SectionMessageAction: React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<SectionMessageActionProps> & React.RefAttributes<HTMLElement>>>; export default SectionMessageAction;