Skip to content

Commit c7c928c

Browse files
hdixdiasbruno
authored andcommitted
[chore] updates style page
1 parent f5b9c11 commit c7c928c

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

docs/styles/README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
Styles passed into the Modal via the `style` prop are merged with the defaults. The default styles are:
44

55
```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)'
1414
},
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'
2828
}
29-
}
29+
}}
3030
```

0 commit comments

Comments
 (0)