Installing Map.ir React Component is quite simple and straightforward.
Install the following package via npm or yarn:
npm install leaflet or yarn add leaflet
Download the ShivehMap react component.
Add the following stylesheets to your index.html head tag:
Put downloaded ShivehMap folder in your desired place and import Map.js file:
import ShivehMap from 'path/to/directory/Map';
Use ShivehMap component where you want
You can give props to the component
Default prop values are:
mapPosition: [35.7, 51.4], mapZoom: 11
Add Marker by giving a position: