@@ -57,8 +57,7 @@ export const defaultModal = (): React.ReactElement => {
57
57
ref = { modalRef }
58
58
id = "example-modal-1"
59
59
aria-labelledby = "modal-1-heading"
60
- aria-describedby = "modal-1-description"
61
- >
60
+ aria-describedby = "modal-1-description" >
62
61
< ModalHeading id = "modal-1-heading" >
63
62
Are you sure you want to continue?
64
63
</ ModalHeading >
@@ -76,8 +75,7 @@ export const defaultModal = (): React.ReactElement => {
76
75
modalRef = { modalRef }
77
76
closer
78
77
unstyled
79
- className = "padding-105 text-center"
80
- >
78
+ className = "padding-105 text-center" >
81
79
Go back
82
80
</ ModalToggleButton >
83
81
</ ButtonGroup >
@@ -101,8 +99,7 @@ export const largeModal = (): React.ReactElement => {
101
99
isLarge
102
100
aria-labelledby = "modal-2-heading"
103
101
aria-describedby = "modal-2-description"
104
- id = "example-modal-2"
105
- >
102
+ id = "example-modal-2" >
106
103
< ModalHeading id = "modal-2-heading" >
107
104
Are you sure you want to continue?
108
105
</ ModalHeading >
@@ -120,8 +117,7 @@ export const largeModal = (): React.ReactElement => {
120
117
modalRef = { modalRef }
121
118
closer
122
119
unstyled
123
- className = "padding-105 text-center"
124
- >
120
+ className = "padding-105 text-center" >
125
121
Go back
126
122
</ ModalToggleButton >
127
123
</ ButtonGroup >
@@ -144,8 +140,7 @@ export const forceActionModal = (): React.ReactElement => {
144
140
forceAction
145
141
aria-labelledby = "modal-3-heading"
146
142
aria-describedby = "modal-3-description"
147
- id = "example-modal-3"
148
- >
143
+ id = "example-modal-3" >
149
144
< ModalHeading id = "modal-3-heading" >
150
145
Your session will end soon.
151
146
</ ModalHeading >
@@ -165,8 +160,7 @@ export const forceActionModal = (): React.ReactElement => {
165
160
modalRef = { modalRef }
166
161
closer
167
162
unstyled
168
- className = "padding-105 text-center"
169
- >
163
+ className = "padding-105 text-center" >
170
164
Sign out
171
165
</ ModalToggleButton >
172
166
</ ButtonGroup >
@@ -188,8 +182,7 @@ export const customFocusElementModal = (): React.ReactElement => {
188
182
ref = { modalRef }
189
183
id = "example-modal-1"
190
184
aria-labelledby = "modal-1-heading"
191
- aria-describedby = "modal-1-description"
192
- >
185
+ aria-describedby = "modal-1-description" >
193
186
< ModalHeading id = "modal-1-heading" >
194
187
Are you sure you want to continue?
195
188
</ ModalHeading >
@@ -211,8 +204,7 @@ export const customFocusElementModal = (): React.ReactElement => {
211
204
modalRef = { modalRef }
212
205
closer
213
206
unstyled
214
- className = "padding-105 text-center"
215
- >
207
+ className = "padding-105 text-center" >
216
208
Go back
217
209
</ ModalToggleButton >
218
210
</ ButtonGroup >
@@ -236,8 +228,7 @@ export const initiallyOpenModal = (): React.ReactElement => {
236
228
id = "example-modal-1"
237
229
aria-labelledby = "modal-1-heading"
238
230
aria-describedby = "modal-1-description"
239
- isInitiallyOpen
240
- >
231
+ isInitiallyOpen >
241
232
< ModalHeading id = "modal-1-heading" >
242
233
Are you sure you want to continue?
243
234
</ ModalHeading >
@@ -255,8 +246,7 @@ export const initiallyOpenModal = (): React.ReactElement => {
255
246
modalRef = { modalRef }
256
247
closer
257
248
unstyled
258
- className = "padding-105 text-center"
259
- >
249
+ className = "padding-105 text-center" >
260
250
Go back
261
251
</ ModalToggleButton >
262
252
</ ButtonGroup >
0 commit comments