Skip to content

Commit 7ed8da1

Browse files
committed
fix jsdoc
1 parent 3368088 commit 7ed8da1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/@react-spectrum/s2/src/AlertDialog.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ import {UnsafeStyles} from './style-utils' with {type: 'macro'};
2929
import {useLocalizedStringFormatter} from '@react-aria/i18n';
3030

3131
export interface AlertDialogProps extends DOMProps, UnsafeStyles {
32-
/** The [visual style](https://spectrum.adobe.com/page/alert-dialog/#Options) of the AlertDialog. */
32+
/**
33+
* The [visual style](https://spectrum.adobe.com/page/alert-dialog/#Options) of the AlertDialog.
34+
* @default 'confirmation'
35+
*/
3336
variant?: 'confirmation' | 'information' | 'destructive' | 'error' | 'warning',
3437
/** The title of the AlertDialog. */
3538
title: string,

0 commit comments

Comments
 (0)