From c7c928cb1ce18de2dd2ca829ea24a9bcf826de27 Mon Sep 17 00:00:00 2001 From: Harry Dix Date: Sun, 28 Jan 2018 22:20:46 +0100 Subject: [PATCH] [chore] updates style page --- docs/styles/README.md | 44 +++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/styles/README.md b/docs/styles/README.md index b8a15134..e7c0707f 100644 --- a/docs/styles/README.md +++ b/docs/styles/README.md @@ -3,28 +3,28 @@ Styles passed into the Modal via the `style` prop are merged with the defaults. The default styles are: ```js -{ - overlay : { - position : 'fixed', - top : 0, - left : 0, - right : 0, - bottom : 0, - backgroundColor : 'rgba(255, 255, 255, 0.75)' +style={{ + overlay: { + position: 'fixed', + top: 0, + left: 0, + right: 0, + bottom: 0, + backgroundColor: 'rgba(255, 255, 255, 0.75)' }, - content : { - position : 'absolute', - top : '40px', - left : '40px', - right : '40px', - bottom : '40px', - border : '1px solid #ccc', - background : '#fff', - overflow : 'auto', - WebkitOverflowScrolling : 'touch', - borderRadius : '4px', - outline : 'none', - padding : '20px' + content: { + position: 'absolute', + top: '40px', + left: '40px', + right: '40px', + bottom: '40px', + border: '1px solid #ccc', + background: '#fff', + overflow: 'auto', + WebkitOverflowScrolling: 'touch', + borderRadius: '4px', + outline: 'none', + padding: '20px' } -} +}} ```