@cpmech/ink-divider
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

ink-divider

React compoennt to draw a divider line, with text, using the Ink cli framework.

Example

  render(
    <Divider
      marginTop={0}
      marginBottom={0}
      title=" HELLO "
      length={17}
      charLine="-"
      colorLine={"#d2a277"}
      colorTitle={"#e8974e"}
    />,
  ),

Readme

Keywords

Package Sidebar

Install

npm i @cpmech/ink-divider

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

7.85 kB

Total Files

10

Last publish

Collaborators

  • dorival