mirror of
https://github.com/fergalmoran/turnstone.git
synced 2026-02-26 20:17:06 +00:00
76bf7f2f99dc216687d0331410d3f0fae43ea307
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
Languages
JavaScript
99%
CSS
0.5%
HTML
0.4%