Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Moved the CSS style JSON expressions into a new separate file 'webpac…
…k_in/styles.es'.
- Loading branch information
Showing
2 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
} | ||
}; |