Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Moved the CSS style JSON expressions into a new separate file 'webpac…
…k_in/styles.es'.
- Loading branch information
Showing
with
22 additions
and 16 deletions.
- +7 −16 webpack_in/entry.jsx
- +15 −0 webpack_in/styles.es
@@ -0,0 +1,15 @@ | ||
// This file 'styles.es' is part of an example for building a multi-widget React front-end app | ||
// step by step as outlined in the tutorial blog at | ||
// http://maratbn.com/blogs/2018/07/02/react-multi-widget/ | ||
|
||
|
||
export default { | ||
common: { | ||
margin: '1em', | ||
border: 'solid 2px green', | ||
textAlign: 'center' | ||
}, | ||
content: { | ||
padding: '1em' | ||
} | ||
}; |