Skip to content

Commit 59a40d4

Browse files
committed
Add separate v2 component
1 parent 7aa99a8 commit 59a40d4

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

demo/app.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import React from 'react';
2222
import Daemon from '../src';
2323

2424
import { HEX } from './serial_mirror';
25+
import V2 from './v2/v2.jsx'
2526

2627
const chromeExtensionID = 'hfejhkbipnickajaidoppbadcomekkde';
2728

@@ -213,6 +214,8 @@ class App extends React.Component {
213214

214215
return (
215216
<div>
217+
<V2></V2>
218+
216219
<h1>Arduino Create Plugin Client Demo</h1>
217220

218221
<div className="section">

demo/v2/v2.jsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from 'react';
2+
3+
class V2 extends React.Component {
4+
render() {
5+
return (
6+
<section>
7+
<h2>V2</h2>
8+
<section>
9+
<h3>Indexes</h3>
10+
<ul>
11+
12+
</ul>
13+
</section>
14+
</section>
15+
)
16+
}
17+
}
18+
19+
export default V2;

0 commit comments

Comments
 (0)