Added styled item and trash icons

Related to #12
This commit is contained in:
2023-07-14 18:33:36 +03:00
parent ad290c8dd0
commit 7ef4194bbd
6 changed files with 26 additions and 3 deletions

View File

@ -0,0 +1,20 @@
import L from 'leaflet'
import itemMarker from '../assets/itemMarker.png'
import trashMarker from '../assets/trashMarker.png'
const iconItem = new L.Icon({
iconUrl: itemMarker,
iconRetinaUrl: itemMarker,
popupAnchor: [0, 0],
iconSize: [41, 41],
})
const iconTrash = new L.Icon({
iconUrl: trashMarker,
iconRetinaUrl: trashMarker,
popupAnchor: [0, 0],
iconSize: [34, 41],
})
export { iconItem, iconTrash }