New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-debounced-input

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-debounced-input

A React input component supporting debounce

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

A debounced input control built for use with React.

New version: 0.4.0

  • Now using an instance property on the component thanks to some feedback.

Installation:
The easiest way to install the component is to use NPM and insert into your React build process:

npm install react-debounced-input --save

Usage:
To use the component (ES6 module syntax):


import ReactDebouncedInput from 'react-debounced-input'
const Example = props => <ReactDebouncedInput />

PropTypes:

ReactDebouncedInput.defaultProps = {
  type: 'text',
};
ReactDebouncedInput.propTypes = {
  type: PropTypes.string.isRequired,
  onChange: PropTypes.func,
  debounce: PropTypes.number,
  onDebounce: PropTypes.func,
  placeholder: PropTypes.string,
  className: PropTypes.string,
};

Examples
To run the example(s) clone the [repo](https://github.com/admmasters/react-debounced-input.git "repo") and then use NPM scripts to start a dev server


npm install
npm run dev

We are pull request friendly - as this is definitely a v1 API! :-)

Keywords

input

FAQs

Package last updated on 03 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts