This project is deprecated, please use ink-box
instead.
$ npm install --save ink-boxen
import { h, render } from 'ink';
import Boxen from 'ink-boxen';
render((
<div>
<Boxen
text="I'm a box!"
padding={2}
margin={2}
borderStyle="round"
/>
</div>
));
The props are simply being passed to boxen
. You can find all of the available options
in boxen's README.
MIT © Yarden Sod-Moriah