mirror of
https://github.com/fergalmoran/turnstone.git
synced 2025-12-22 09:49:56 +00:00
e414f8efa12dbf4c4850bbdf04dc28bd29f002ac
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%