Skip to content

Instantly share code, notes, and snippets.

{"lastUpload":"2019-02-21T12:05:39.619Z","extensionVersion":"v3.2.4"}
@Nagogus
Nagogus / react-simple-typeahead-script.jsx
Last active June 22, 2016 19:41
Example of react-simple-typeahead component usage
(function () {
var options = [/* List of countries */];
function onOptionSelected(option) {
console.log("Selected option: " + option);
}
function onInputEmpty() {
console.log("Typeahead input is empty!");
}