animated-searchbar
v2.2.5
Published
<p align="center"><img src="AnimatedSearchbar.gif" /></p>
Downloads
8
Maintainers
Readme
Animated Searchbar
const worklist = ['Enter your dream location', 'Why not...Tokyo?', 'Melbourne?', 'Sydney?'];
<Searchbar
name={'WhereToGo'}
className={Style.input}
ONLYSHOWONFOCUS={true}
blinker={true}
minLength={1}
maxLength={10}
typeList={worklist}
typeDelay={3000}
typeSpeed={{min:50, max:200}}
onClick={(e)=>{
console.log('onClick');
}}
onHover={(e)=>{
console.log('onHover');
}}
onFocus={(e)=>{
}}
onBlur={(e)=>{
}}
/>
$ npm i animated-searchbar
This project is licensed under the MIT License