We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3368088 commit 7ed8da1Copy full SHA for 7ed8da1
packages/@react-spectrum/s2/src/AlertDialog.tsx
@@ -29,7 +29,10 @@ import {UnsafeStyles} from './style-utils' with {type: 'macro'};
29
import {useLocalizedStringFormatter} from '@react-aria/i18n';
30
31
export interface AlertDialogProps extends DOMProps, UnsafeStyles {
32
- /** The [visual style](https://spectrum.adobe.com/page/alert-dialog/#Options) of the AlertDialog. */
+ /**
33
+ * The [visual style](https://spectrum.adobe.com/page/alert-dialog/#Options) of the AlertDialog.
34
+ * @default 'confirmation'
35
+ */
36
variant?: 'confirmation' | 'information' | 'destructive' | 'error' | 'warning',
37
/** The title of the AlertDialog. */
38
title: string,
0 commit comments