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>, </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 ( return (
<div className="three columns"> <div className="three columns">
<span>vBox</span> <span>vBox</span>
@ -78,7 +90,7 @@ function Vbox(args) {
onClick={() => sendVboxCombine()}> onClick={() => sendVboxCombine()}>
combine combine
</button> </button>
{JSON.stringify(vbox)} {combinerElement}
</div> </div>
); );
} }