Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Latest commit

 

History

History
47 lines (31 loc) · 936 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 936 Bytes

ink-boxen

This project is deprecated, please use ink-box instead.

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