mirror of
https://github.com/fergalmoran/turnstone.git
synced 2026-01-02 23:24:00 +00:00
d77d231a3bb7cf4cc96bb8cf3f5b5b46fcfa7251
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}
searchType={'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%