react-native-segmented-picker
react-native-segmented-picker copied to clipboard
Change font size?
Hi!
I see you haven't worked on this in a while but I'm wondering if it would be possible to add a way to change the font size of the labels. I tried styling it a few way and dove into the code but I'm too much of a react-native/swift novice to understand what I'd update to make it either a prop or style option.
I toyed with it a bit, updating the label font size in the PickerView.swift file and I see a font size style in SegmentedPickerStyles but I couldn't figure out how I would use/update those values in code if it's already an option, either.
As an aside, thanks for making this!
@aleczratiu you will need a filter option for the reference
type. In the filter function you can reference the current document so you could look up it's language and then only show relevant entries.
https://www.sanity.io/docs/reference-type#filter-ebd7a95f9dc6