onAction - Invoked when the primary action is clicked.
onDismiss - Invoked when the ✕ is clicked.
dismissLabel - Accessible label for the ✕.
testId / actionTestId / dismissTestId - data-testids for the root and
the two controls. Passed explicitly rather than derived, so each caller keeps
the ids its tests already target.
Props for PromptSnackbar.
open- Whether the snackbar is shown.message- The line of copy to display.actionLabel- Text of the primary action button.onAction- Invoked when the primary action is clicked.onDismiss- Invoked when the ✕ is clicked.dismissLabel- Accessible label for the ✕.testId/actionTestId/dismissTestId-data-testids for the root and the two controls. Passed explicitly rather than derived, so each caller keeps the ids its tests already target.