picker icon indicating copy to clipboard operation
picker copied to clipboard

How can I use the picker horizontal?

Open MErenTalan opened this issue 2 years ago • 0 comments

How can I use the picker horizontal? I tried to simply give style transform rotate 90 degs but it also rotates text. And I can't rotate text by its own. So it creates the view below. How can I use the picker horizontally? I tried to fork the library and give label style like the below code but it also didn't work.

The PickerItem.js I edited (it didn't work) <Option disabled={enabled === false ? true : undefined} style={{color}} testID={testID} value={value} label={label}> <Text style={{transform: "-90deg"}}> {label}</Text> </Option> );

image

MErenTalan avatar Feb 10 '23 13:02 MErenTalan