ink-filter-list
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

ink-filter-list

ink component to pick or search in a list

How to use

<FilterList
  height={10}
  items={[
    {
      label: 'First',
      value: 'first',
    },
    {
      label: 'Second',
      value: 'second',
    },
  ]}
  onSubmit={(item) => {
    console.log('value', item.value)
  }}
/>

📦 Install

npm install ink-filter-list

Package Sidebar

Install

npm i ink-filter-list

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

5.29 kB

Total Files

5

Last publish

Collaborators

  • sajmoni