mirror of
https://github.com/fergalmoran/turnstone.git
synced 2026-03-10 17:56:38 +00:00
fc7637208623734133a4673fb4f3b2ef033a0d1e
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%