// Import XTerm
import { XTerm } from 'xterm-for-react'
// Render the component
<XTerm options={{ lineHeight: 3 }} />
My question here is not how to npm i xterm-for-react
or how to bundle it via esbuild – I can do both of those. My question here is: how do I bind/wrap
this so I an use it from jsoo-react ?
In particular <Xterm...>
is a JS React component I want to be able to use from jsoo-react, and I’d like to be able to pass data to it / pass it callbacks (ocaml/jsoo functions that gets called on events).
Thanks!