We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e942d13 commit 92560c3Copy full SHA for 92560c3
webpack_in/entry.jsx
@@ -22,4 +22,22 @@ class HelloWidget extends React.Component {
22
}
23
24
25
-ReactDOM.render(<HelloWidget />, document.getElementById('react-app'));
+class TextWidget extends React.Component {
26
+ render() {
27
+ return (
28
+ <div style={{ padding: '1em',
29
+ border: 'solid 2px green',
30
+ textAlign: 'center' }}>
31
+ Some text here....
32
+ </div>
33
+ );
34
+ }
35
+}
36
+
37
38
+ReactDOM.render(
39
+ <div>
40
+ <HelloWidget />
41
+ <TextWidget />
42
+ </div>,
43
+ document.getElementById('react-app'));
0 commit comments