Transparent overlay in React Native

后端 未结 6 1558
陌清茗
陌清茗 2020-12-23 13:38

I\'m trying to get a transparent overlay sliding down in an app, pretty much like this here (all/filter-by):

\"t

6条回答
  •  执念已碎
    2020-12-23 14:29

    Smartest way ??

    the smartest way to me is to use Modals from react-native to build a highly customizable responsive experience, you can easily set motion directions of the Modal, set transparency, toggle visibility etc etc, i personally have never user existing npm modules for implementing side drawers or navigation bars, i do this using Modals.
    If you wish i can give a sample code snippet which realizes a navigation drawer using Modals

提交回复
热议问题