npm.io
4.1.1 • Published 1 year ago

ink-divider

Licence
MIT
Version
4.1.1
Deps
1
Size
13 kB
Vulns
0
Weekly
0
Stars
44

ink-divider

NPM Downloads NPM Version

Divider component for Ink.

Install

npm i ink-divider

Usage

Here is the basic usage:

import { render } from 'ink'
import Divider from 'ink-divider'

render(<Divider title='Title' />)

// ─────────── Title ───────────

The <Divider> component can also automatically adjust to the width of the container! We advise you to view this example - examples/auto-grow.tsx, more examples in the examples folder

example

Contributing

Thank you for your interest in helping this project , detailed instructions on contributing are at CONTRIBUTING.md

License

MIT Jure Sotosek

Keywords