diff --git a/src/components/search-box.js b/src/components/search-box.js new file mode 100644 index 0000000..99a5af3 --- /dev/null +++ b/src/components/search-box.js @@ -0,0 +1,38 @@ +import React, { Component } from "react"; +import ReactSearchBox from "react-search-box"; + +export default class App extends Component { + data = [ + { + key: "john", + value: "John Doe", + }, + { + key: "jane", + value: "Jane Doe", + }, + { + key: "mary", + value: "Mary Phillips", + }, + { + key: "robert", + value: "Robert", + }, + { + key: "karius", + value: "Karius", + }, + ]; + + render() { + return ( + console.log(record)} + /> + ); + } +} \ No newline at end of file