如何自定义Switch react-native组件?

k5ifujac  于 2022-11-25  发布在  React
关注(0)|答案(1)|浏览(162)

enter image description here
我需要这样的开关。
我试着使用arshigtx react-native-custom-switch,但它不工作。如果你知道其他软件包让我知道。

vhipe2zx

vhipe2zx1#

有许多软件包可用于switch。

  1. React Native Switch NPM
  2. React Native Switch Official Docs
    您可以自定义上述每个组件,使其看起来像您想要的交换机。

相关问题