Skip to content

Instantly share code, notes, and snippets.

View exinmusic's full-sized avatar
👂

David Dolan exinmusic

👂
View GitHub Profile
@exinmusic
exinmusic / Component.jsx
Created October 5, 2020 00:42 — forked from krambertech/Component.jsx
ReactJS: Input fire onChange when user stopped typing (or pressed Enter key)
import React, { Component } from 'react';
import TextField from 'components/base/TextField';
const WAIT_INTERVAL = 1000;
const ENTER_KEY = 13;
export default class TextSearch extends Component {
constructor(props) {
super();