ink-divider
December 13, 2024 ยท View on GitHub
๐ฉ๐ผโ๐จ 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