react-focus-input-z
v1.5.0-np
Published
React focus input. Highlight focus
Downloads
14
Maintainers
Readme
Description
- Hightlight input-text when focus
Usage
Install the package
npm install --save react-focus-input-z
Import the module in the place you want to use:
import "react-focus-input-z/build/styles.css";
import FocusInput from "react-focus-input-z";
Snippet
const [value, setValue] = useState("");
<FocusInput value={value} onChange={evt => setValue(evt.target.value)} />
props
see index.d.ts
HtmlInput
RUN
LIVE EXAMPLE
version
1.3.0-np: Update auto focus if needed. (standard) 1.5.0-np: Optimize something
License
MIT