File tree 1 file changed +22
-22
lines changed
1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 3
3
Styles passed into the Modal via the ` style ` prop are merged with the defaults. The default styles are:
4
4
5
5
``` js
6
- {
7
- overlay : {
8
- position : ' fixed' ,
9
- top : 0 ,
10
- left : 0 ,
11
- right : 0 ,
12
- bottom : 0 ,
13
- backgroundColor : ' rgba(255, 255, 255, 0.75)'
6
+ style = { {
7
+ overlay: {
8
+ position: ' fixed' ,
9
+ top: 0 ,
10
+ left: 0 ,
11
+ right: 0 ,
12
+ bottom: 0 ,
13
+ backgroundColor: ' rgba(255, 255, 255, 0.75)'
14
14
},
15
- content : {
16
- position : ' absolute' ,
17
- top : ' 40px' ,
18
- left : ' 40px' ,
19
- right : ' 40px' ,
20
- bottom : ' 40px' ,
21
- border : ' 1px solid #ccc' ,
22
- background : ' #fff' ,
23
- overflow : ' auto' ,
24
- WebkitOverflowScrolling : ' touch' ,
25
- borderRadius : ' 4px' ,
26
- outline : ' none' ,
27
- padding : ' 20px'
15
+ content: {
16
+ position: ' absolute' ,
17
+ top: ' 40px' ,
18
+ left: ' 40px' ,
19
+ right: ' 40px' ,
20
+ bottom: ' 40px' ,
21
+ border: ' 1px solid #ccc' ,
22
+ background: ' #fff' ,
23
+ overflow: ' auto' ,
24
+ WebkitOverflowScrolling: ' touch' ,
25
+ borderRadius: ' 4px' ,
26
+ outline: ' none' ,
27
+ padding: ' 20px'
28
28
}
29
- }
29
+ }}
30
30
```
You can’t perform that action at this time.
0 commit comments