1.0.0 • Published 6 years ago

ink-boxen v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

ink-boxen

A boxen component for ink

Build Status

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