Name Description Size Coverage
_ConfirmDialog.scss 1023 -
ConfirmDialog.jsx ConfirmDialog component. One primary action button, one cancel button. Content displayed is controlled by `data` prop the component receives. Example: data: { // Any sort of data needed to be passed around by actions. payload: site.url, // Primary button AlsoToMain action. action: "DELETE_HISTORY_URL", // Primary button USerEvent action. userEvent: "DELETE", // Array of locale ids to display. message_body: ["confirm_history_delete_p1", "confirm_history_delete_notice_p2"], // Text for primary button. confirm_button_string_id: "menu_action_delete", // moz-button type for the primary button. Defaults to "destructive". confirm_button_type: "primary" }, 4378 -