<Select
flex={1}
ml={10}
onValueChange={(value) => onChangeSelected(value)}
>
<SelectTrigger
borderWidth={0}
borderColor={buttonBorderColor}
variant="outline"
size="sm"
height={50}
>
<SelectInput
placeholder="Select option"
textAlign='right'
color={titleColor}
/>
<SelectIcon as={ChevronDownIcon} />
</SelectTrigger>
<SelectPortal>
<SelectBackdrop/>
<SelectContent
// bgColor={cardBgColor2}
borderColor={brandColor}
>
<SelectDragIndicatorWrapper>
<SelectDragIndicator />
</SelectDragIndicatorWrapper>
<SelectSectionHeaderText>
{titleTxt}
</SelectSectionHeaderText>
<SelectScrollView>
{
data.map((item, index) => {
return (
<SelectItem
key={index}
label={item.name}
value={item.content}
mb={'$1'}
// bgColor={brandColorWithOpacity(0.1)}
style={{
borderBottomWidth: 1,
borderBottomColor: brandColorWithOpacity(0.3),
}}
color={titleColor}
/>
)
})
}
</SelectScrollView>
</SelectContent>
</SelectPortal>
</Select>