Permalink
Browse files

Added CSS styles to <HelloWidget>.

  • Loading branch information...
maratbn committed Jun 30, 2018
1 parent 8e3ac6c commit e942d13fa3ed1d391f6193cdc4001d115c8d8462
Showing with 7 additions and 1 deletion.
  1. +7 −1 webpack_in/entry.jsx
@@ -12,7 +12,13 @@ import ReactDOM from 'react-dom';
class HelloWidget extends React.Component {
render() {
return (<div>Hello! I'm a React app!!</div>);
return (
<div style={{ padding: '1em',
border: 'solid 2px green',
textAlign: 'center' }}>
Hello! I'm a React app!!
</div>
);
}
}

0 comments on commit e942d13

Please sign in to comment.