Skip to content

Latest commit

Β 

History

History
40 lines (24 loc) Β· 1.79 KB

README.md

File metadata and controls

40 lines (24 loc) Β· 1.79 KB

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