mirror of
https://github.com/fergalmoran/turnstone.git
synced 2026-03-06 07:54:35 +00:00
e86e8373b82ea73ac91a5d4c34caf0bca828a02e
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%