2022-02-24 14:25:45 +00:00
2022-02-24 14:25:45 +00:00
2022-02-20 00:19:20 +00:00
2022-02-20 00:25:55 +00:00
2022-02-12 16:33:47 +00:00

turnstone

Install

npm install --save turnstone

Usage

import React from 'react'
import Turnstone from 'turnstone'
import fruits from './data'

const App = () => {
  return (
    <Turnstone
      autoFocus={true}
      data={fruits}
      dataSearchType={'startswith'}
      debounceWait={0}
      maxItems={10}
      noItemsMessage={'No matching fruit found'}
      placeholder={'Type something fruity'}
    />
  )
}

export default App

License

MIT © tomsouthall

Description
No description provided
Readme 1.8 MiB
Languages
JavaScript 99%
CSS 0.5%
HTML 0.4%