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

yardnsm/ink-boxen

Repository files navigation

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

About

[DEPRECATED] A boxen component for Ink

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published