1.0.1 • Published 2 years ago
dbl-shift-search v1.0.1
dbl-shift-search
dbl-shift-search is a simple and powerful react component for your next project
Install
npm install --save dbl-shift-searchUsage basic
import React from 'react'
import {DoubleShiftSearch} from 'dbl-shift-search'
function App() {
return (
<div>
<DoubleShiftSearch/>
</div>
);
}
export default App;Live Demo
https://rjlaasish.github.io/dbl-shift-search
Props
| Name | Type | Default |
|---|---|---|
| value | string | "" |
| onChange? | function | none |
| onBlur? | function | none |
| placeholder? | string | "Search" |
| helperText? | string | "Press Double Shift Key To Search Menu" |
| closeOnESCPress | boolean | true |
| isInputActive | boolean | false |
| textPosition | "left" or "right" | "right" |
| inputStylingProps | React.CSSProperties | none |
About Author
Aasish Rijal rjlaasish@gmail.com Linkedin