0.0.5 • Published 5 months ago

ink-filter-list v0.0.5

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

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)
  }}
/>

:package: Install

npm install ink-filter-list