Hi,
I am trying to insert the value of defaultOptionIndex but it does not work. Below is the Code. Any idea please? My goal is to show currently selected network in the Select component.
<Select
defaultOptionIndex={`${defaultOption}`}
label="Select other Chain"
onChange={(e) => handleNetworkSwitch(e.id)}
options={[
{
id: 'polygonTST',
label: 'Polygon',
prefix: <PolygonLogo/>
},
{
id: 'bsc',
label: 'BSC',
prefix: <BSCLogo/>
},
{
id: 'ganache',
label: 'Ganace',
prefix: <AvaxLogo/>
}
]}
/>