I'm currently working on changing the ImageBackground for a Material-UI Button Image component. The challenge I'm facing is that the CSS configuration requires a backgroundImage property, but it searches through the URL browser instead of my local filesystem folders.
Here are some helpful image links:
https://i.sstatic.net/zzFsm.jpg
https://i.sstatic.net/mUzXK.jpg
https://i.sstatic.net/oNM8g.jpg
<span
className={classes.imageSrc}
style={{
backgroundImage: "url('./juego.png')",
}}
/>
The desired outcome is for the span to search for the src image within the local filesystem folder using the local explorer, rather than through a URL!