Skip to content

Commit

Permalink
Added CSS styles to <HelloWidget>.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 8e3ac6c commit e942d13
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webpack_in/entry.jsx
Expand Up @@ -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>
);
}
}

Expand Down

0 comments on commit e942d13

Please sign in to comment.