NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Select component: the font size of the <Select.Item /> is not changing

Open sanna231 opened this issue 2 years ago • 2 comments

Description

I'm using the <Select /> component. How can I customise <Select.Item /> ?

CodeSandbox/Snack link

https://codesandbox.io

Steps to reproduce

No response

NativeBase Version

3.4.6

Platform

  • [ ] Android
  • [ ] CRA
  • [ ] Expo
  • [X] iOS
  • [ ] Next

Other Platform

No response

Additional Information

This is what I am doing in my code: <Select {...}> <Select.Item label={...} _text={{ fontSize: "2xl" }}/> </Select/>

I am observing that the font size of the <Select.Item /> is not changing.

sanna231 avatar Jun 22 '22 06:06 sanna231

change user extendTheme like...

const nativebaseTheme = extendTheme({
  components: {
    Select: {
      baseStyle: {
        fontSize: 14,
      },
    },
  },
});

eonsang-lee avatar Jun 28 '22 11:06 eonsang-lee

Hey @sanna231, Thanks for reporting the issue. We'll fix it soon.

ankit-tailor avatar Jul 18 '22 12:07 ankit-tailor