4.1.0 • Published 5 months ago

ink-divider v4.1.0

Weekly downloads
769
License
MIT
Repository
github
Last release
5 months ago

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

šŸ¤ Contributing

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

šŸ“ License

MIT Ā© Jure Sotosek