Modal button trigger
Internal use only. These components are available only within Atlassian.Props
| Description | Additional information to be included in the |
|---|---|
| Type | { [x: string]: any; } |
| Description | The button style variation. |
|---|---|
| Type | "warning" | "default" | "subtle" | "primary" | "discovery" | "danger" | "rovo" |
| Description | Set the button to autofocus on mount. |
|---|---|
| Type | boolean |
| Description | Text content to be rendered in the button. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | No description. |
|---|---|
| Type | never |
| Description | No description. |
|---|---|
| Type | InternalEntryPointRepresentation<any, any, any, any, any>TEntryPoint |
| Description | Parameters captured when loading the entry point. Changes after load are not propagated; use Relay, context, or another shared store for reactive state. |
|---|---|
| Type | {}TEntryPoint extends EntryPoint<infer _TEntryPointComponent, infer TEntryPointParams extends {}> ? TEntryPointParams : never |
| Description | Runtime props captured when the content is created. Changes after load are not propagated;
use shared state to communicate with loaded content. Modal-controlled props from
|
|---|---|
| Type | Omit<GetRuntimePropsFromComponent<GetComponentFromPreloadedEntryPoint<PreloadedEntryPoint<GetEntryPointComponentFromEntryPoint<TEntryPoint>>>>, keyof ModalComponentProps> & { ...; } |
| Description | No description. |
|---|---|
| Type | string |
| Description | No description. |
|---|---|
| Type | React.ComponentClass<ModalErrorFallbackProps, any> | React.FunctionComponent<ModalErrorFallbackProps> |
| Description | No description. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | No description. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | No description. |
|---|---|
| Type | React.ComponentClass<{ onClose?: () => void; }, any> | React.FunctionComponent<{ onClose?: () => void; }> |
| Description | No description. |
|---|---|
| Type | ((instance: HTMLElement) => void) | React.RefObject<HTMLElement> |
| Description | Places an icon within the button, after the button's text. |
|---|---|
| Type | React.ComponentClass<(Omit<IconProps, "size"> | Omit<NewIconProps, "size" | "spacing">) & { motionOvershoot?: string; }, any> | React.FunctionComponent<...> |
| Description | Places an icon within the button, before the button's text. |
|---|---|
| Type | React.ComponentClass<(Omit<IconProps, "size"> | Omit<NewIconProps, "size" | "spacing">) & { motionOvershoot?: string; }, any> | React.FunctionComponent<...> |
| Description | An optional name used to identify the button to interaction content listeners. By default, button fires React UFO (Unified Frontend Observability) press interactions for available listeners. This helps Atlassian measure performance and reliability. See the pressable or anchor primitive code examples for more information. |
|---|---|
| Type | string |
| Description | Disable the button to prevent user interaction. |
|---|---|
| Type | boolean |
| Description | Conditionally show a spinner over the top of a button |
|---|---|
| Type | boolean |
| Description | Indicates that the button is selected. |
|---|---|
| Type | boolean |
| Description | No description. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | No description. |
|---|---|
| Type | ModalDialogProps |
| Description | Title shown in the modal while the entry point loads or fails. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | Handler called on blur. |
|---|---|
| Type | (event: React.FocusEvent<HTMLButtonElement, Element>) => void |
| Description | Handler called on click. You can use the second argument to fire Atlaskit analytics events on custom channels. They could then be routed to GASv3 analytics. See the pressable or anchor primitive code examples for information on firing Atlaskit analytics events or routing these to GASv3 analytics. |
|---|---|
| Type | (e: React.MouseEvent<HTMLButtonElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent) => void |
| Description | No description. |
|---|---|
| Type | (props: { error: Error; errorInfo: React.ErrorInfo; }) => void |
| Description | Handler called on focus. |
|---|---|
| Type | (event: React.FocusEvent<HTMLButtonElement, Element>) => void |
| Description | No description. |
|---|---|
| Type | (event?: KeyboardOrMouseEvent) => boolean | void |
| Description | No description. |
|---|---|
| Type | boolean |
| Description | Option to fit button width to its parent width. |
|---|---|
| Type | boolean |
| Description | No description. |
|---|---|
| Type | { [key: string]: unknown; id: string; packageName: string; teamName: string; } |
| Description | Controls the amount of padding in the button. |
|---|---|
| Type | "default" | "compact" |
| Description | A unique string that appears as data attribute |
|---|---|
| Type | string |
| Description | No description. |
|---|---|
| Type | React.ReactNode & string |