GeekyAnts/NativeBase

[Select] customize the content of the Select component

yixiaojiu opened this issue · 2 comments

Description

Add a prop in Select component, which can customize the content.

Problem Statement

I need some ability, but the current Select component can't meet my needs. For example, I want to center the content in the Select.

Proposed Solution or API

<Select render={(selectedItem) => <View>{custom content}</View>}>
</Select>

Alternatives

No response

Additional Information

I have the insterest to achieve this.

Hi @yixiaojiu, Not sure about what you need, but if you just want to center the content in SelectItem just do this
https://snack.expo.dev/@kiethuynh0904/selecteditem-customize

hope this helps

@kiethuynh0904 I mean, is there anyway to customize this?
image