You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
as you can see I have Img holding the variable that imports the image path, the label and the value.
How can I show the image in each option in front of the label?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to add an image in front of each option, my array of options look like that:
const icons = [
{ img: mbaltimeter, label: "altimeter", value: "altimeter" },
{ img: mbball, label: "ball", value: "ball" },
{ img: mbbatton, label: "batton", value: "batton" },
{ img: mbbike, label: "bike", value: "bike" },
]
as you can see I have Img holding the variable that imports the image path, the label and the value.
How can I show the image in each option in front of the label?
Thank you.
The text was updated successfully, but these errors were encountered: