@@ -10,48 +10,42 @@ import {
10
10
Backdrop
11
11
} from '../../modals/base/example' ;
12
12
13
- export default [
14
- {
15
- id : 'default' ,
16
- label : 'Default' ,
17
- element : (
18
- < div className = "demo-only" style = { { height : '24rem' } } >
19
- < Backdrop >
20
- < Modal
21
- tabIndex = "0"
22
- role = "alertdialog"
23
- aria-labelledby = "prompt-heading-id"
24
- aria-describedby = "prompt-message-wrapper"
25
- className = "slds-modal_prompt"
26
- closeButton = { false }
27
- >
28
- < ModalHeader
29
- className = "slds-theme_error slds-theme_alert-texture"
30
- >
31
- < h1 className = "slds-text-heading_medium" id = "prompt-heading-id" >
32
- Service unavailable
33
- </ h1 >
34
- </ ModalHeader >
35
- < ModalContent
36
- className = "slds-p-around_medium"
37
- id = "prompt-message-wrapper"
38
- >
39
- < p >
40
- Sit nulla est ex deserunt exercitation anim occaecat. Nostrud ullamco
41
- deserunt aute id consequat veniam incididunt duis in sint irure nisi.
42
- Mollit officia cillum Lorem ullamco minim nostrud elit officia tempor
43
- esse quis. Cillum sunt ad dolore quis aute consequat ipsum magna
44
- exercitation reprehenderit magna. Tempor cupidatat consequat elit
45
- dolor adipisicing.
46
- </ p >
47
- </ ModalContent >
13
+ export default (
14
+ < div className = "demo-only" style = { { height : '24rem' } } >
15
+ < Backdrop >
16
+ < Modal
17
+ tabIndex = "0"
18
+ role = "alertdialog"
19
+ aria-labelledby = "prompt-heading-id"
20
+ aria-describedby = "prompt-message-wrapper"
21
+ className = "slds-modal_prompt"
22
+ closeButton = { false }
23
+ >
24
+ < ModalHeader
25
+ className = "slds-theme_error slds-theme_alert-texture"
26
+ >
27
+ < h1 className = "slds-text-heading_medium" id = "prompt-heading-id" >
28
+ Service unavailable
29
+ </ h1 >
30
+ </ ModalHeader >
31
+ < ModalContent
32
+ className = "slds-p-around_medium"
33
+ id = "prompt-message-wrapper"
34
+ >
35
+ < p >
36
+ Sit nulla est ex deserunt exercitation anim occaecat. Nostrud ullamco
37
+ deserunt aute id consequat veniam incididunt duis in sint irure nisi.
38
+ Mollit officia cillum Lorem ullamco minim nostrud elit officia tempor
39
+ esse quis. Cillum sunt ad dolore quis aute consequat ipsum magna
40
+ exercitation reprehenderit magna. Tempor cupidatat consequat elit
41
+ dolor adipisicing.
42
+ </ p >
43
+ </ ModalContent >
48
44
49
- < ModalFooter className = "slds-theme_default" >
50
- < button className = "slds-button slds-button_neutral" > Got It</ button >
51
- </ ModalFooter >
52
- </ Modal >
53
- </ Backdrop >
54
- </ div >
55
- )
56
- }
57
- ] ;
45
+ < ModalFooter className = "slds-theme_default" >
46
+ < button className = "slds-button slds-button_neutral" > Got It</ button >
47
+ </ ModalFooter >
48
+ </ Modal >
49
+ </ Backdrop >
50
+ </ div >
51
+ ) ;
0 commit comments