1.0.0 • Published 6 years ago
ink-boxen v1.0.0
ink-boxen
Install
$ npm install --save ink-boxen
Example Usage
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>
));
API
<Boxen />
The props are simply being passed to boxen
. You can find all of the available options
in boxen's README.
License
MIT © Yarden Sod-Moriah
1.0.0
6 years ago