testing-auto-complete-rq
v1.0.4
Published
Made with create-react-library
Downloads
7
Readme
testing-auto-complete-rq
Made with create-react-library
Install
npm install --save testing-auto-complete-rq
Usage
import React, {useState} from 'react'
import Autocomplete from 'testing-auto-complete-rq'
//import 'testing-auto-complete-rq/dist/index.css'
const App = () => {
const [selectedResult, setSelectedResult] = useState({})
const handleSelect = (selected) => {
setSelectedResult(selected)
console.log(selected)
}
return (
<Autocomplete APIKEY = "" handleSelect={handleSelect} />
);
}