Hi,
I have a question related to the LayerList and the symbols representing layers on the map.
I found many suggestions, but they all create a separate space for each layer and then show symbols. However, I want to display the symbols already available in my system on the left side of each specific feature layer.
Reference Link: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-list-widget-with-legend-in-4-x-getting/m-p/1139615#M76197
https://codepen.io/kekenes/pen/VwMPaLL?editors=1000
Note: With the provided link solution it is creating a new div element for every layer. instead of creating new div i want to use my symbols with the same div of that layer in the layerlist.
I want the output as per the attached screenshot

Thank You.