mirror of
https://github.com/lewismoten/data-over-audio.git
synced 2026-03-20 09:15:21 +08:00
replace sent/received bit panels
This commit is contained in:
11
Panels/CodePanel.js
Normal file
11
Panels/CodePanel.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import BasePanel from './BasePanel';
|
||||
|
||||
class CodePanel extends BasePanel {
|
||||
constructor(title) {
|
||||
super(title);
|
||||
this.addCode('code');
|
||||
}
|
||||
setCode = (html) => this.setHtmlById('code', html);
|
||||
}
|
||||
|
||||
export default CodePanel;
|
||||
Reference in New Issue
Block a user