π©πΌβπ¨ Divider component for Ink.
npm i ink-divider
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
Thank you for your interest in helping this project π, detailed instructions on contributing are at CONTRIBUTING.md
MIT Β© Jure Sotosek