combiner table

This commit is contained in:
ntr 2019-03-28 17:01:42 +11:00
parent e512ad187d
commit 823432d240

View File

@ -48,6 +48,18 @@ function Vbox(args) {
</tr>,
];
const combinerElement = (
<table className="vbox-table">
<tbody>
<tr>
<td>{convertVar(combiner[0])}</td>
<td>{convertVar(combiner[1])}</td>
<td>{convertVar(combiner[2])}</td>
</tr>
</tbody>
</table>
);
return (
<div className="three columns">
<span>vBox</span>
@ -78,7 +90,7 @@ function Vbox(args) {
onClick={() => sendVboxCombine()}>
combine
</button>
{JSON.stringify(vbox)}
{combinerElement}
</div>
);
}