I would really love to use the LayerList widget in my custom js api apps (built using React and Vite), but my clients really don't like the eyeball to indicate if the layer is visible or not. They prefer the checkbox found in the layer list of the web app builder.
I was inspired by this post (https://codepen.io/anon/pen/QovRre?editors=1000#anon-login) and I have tried to change the icon using the css with something like:
.esri-layer-list__visible-icon::before {
content: "\e611";
}
but the eyeball remains, only with a question mark in front of it, like the css is adding an unknown icon.
Does anyone have a suggestion as to how I can replace the eyeball icon in a React app?