1 | <!DOCTYPE html>
|
2 | <html lang="en">
|
3 | <head>
|
4 | <meta charset="UTF-8">
|
5 | <title>React Frame Component Examples</title>
|
6 | <style>
|
7 | * {
|
8 | color: blue;
|
9 | }
|
10 | section {
|
11 | display: flex;
|
12 | }
|
13 | section div {
|
14 | flex: 1;
|
15 | }
|
16 | </style>
|
17 | </head>
|
18 | <body>
|
19 | <h1><Frame /> examples</h1>
|
20 | <p>Two examples below showing how you can encapsulate individual components or your entire application</p>
|
21 | <section>
|
22 | <div id="example1"></div>
|
23 | <div id="example2"></div>
|
24 | </section>
|
25 | <script type="text/javascript" src="appbundle.js"></script></body>
|
26 | </html>
|