File tree 1 file changed +10
-9
lines changed
site/src/components/Dialogs/DeleteDialog
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
import TextField from "@mui/material/TextField" ;
2
2
import { type Interpolation , type Theme } from "@emotion/react" ;
3
3
import { type FC , type FormEvent , useId , useState } from "react" ;
4
+ import { Stack } from "../../Stack/Stack" ;
4
5
import { ConfirmDialog } from "../ConfirmDialog/ConfirmDialog" ;
5
6
6
7
export interface DeleteDialogProps {
@@ -61,17 +62,17 @@ export const DeleteDialog: FC<DeleteDialogProps> = ({
61
62
confirmText = { confirmText }
62
63
description = {
63
64
< >
64
- < p >
65
- { verb ?? "Deleting" } this { entity } is irreversible!
66
- </ p >
65
+ < Stack spacing = { 1.5 } >
66
+ < p >
67
+ { verb ?? "Deleting" } this { entity } is irreversible!
68
+ </ p >
67
69
68
- { Boolean ( info ) && < div css = { styles . callout } > { info } </ div > }
70
+ { Boolean ( info ) && < div css = { styles . callout } > { info } </ div > }
69
71
70
- < p > Are you sure you want to proceed?</ p >
71
-
72
- < p >
73
- Type < strong > { name } </ strong > below to confirm.
74
- </ p >
72
+ < p >
73
+ Type < strong > { name } </ strong > below to confirm.
74
+ </ p >
75
+ </ Stack >
75
76
76
77
< form onSubmit = { onSubmit } >
77
78
< TextField
You can’t perform that action at this time.
0 commit comments