react-focus-input-z
TypeScript icon, indicating that this package has built-in type declarations

1.5.0-np • Public • Published

react-focus-input-z

react-focus-input-z

LIVE EXAMPLE

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

Package Sidebar

Install

npm i react-focus-input-z

Weekly Downloads

5

Version

1.5.0-np

License

MIT

Unpacked Size

11.1 kB

Total Files

8

Last publish

Collaborators

  • delpikye