react-map-input-search
v1.0.3
Published
React Map Search
Downloads
3
Readme
Demo
Installation:
npm install react-map-input-search --save-dev
or
yarn add -D react-map-input-search
Usage :
Add ReactMapSearch
to your component:
import React from 'react'
import ReactDOM from 'react-dom/client'
import { ReactMapSearch } from 'react-map-input-search'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<ReactMapSearch id='suggest'>
<input id='suggest' />
</ReactMapSearch>
</React.StrictMode>,
)