javascriptandroidreact-nativeslidervertical-alignment

how to create vertical slider in android by @react-native-community/slider?


enter image description here
As the title and picture, how to create vertical slider in android by @react-native-community/slider? I try to create a slider like: <Slider vertical={true}/> but it's not working.


Solution

  • After searching, I finally found a solution Use transform css to rotate 90deg component https://reactnative.dev/docs/transforms