1.0.3 • Published 3 years ago

donetypinginput v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

What is this?

It's a React component that fires an event when the user is done typing.

Installation

npm i donetypinginput --save

Then:

import DoneTypingInput from "donetypinginput";

export const MyInput = (props) => {
    return(
        <DoneTypingInput doneTypingTimer={600} onDoneTyping={props.onDoneTyping} {...props} />
    );
};

Options

The component has two properties:

  • doneTypingTimer - number in ms (Defaults to 500ms)
  • onDoneTyping - the event handler
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago