【问题标题】:What is the equivalent of React-Native's createBottomTabNavigator in ReactJS?ReactJS 中 React-Native 的 createBottomTabNavigator 等价物是什么?
【发布时间】:2019-12-05 08:38:16
【问题描述】:

我正在尝试创建将在移动浏览器中加载的底部选项卡导航器。我只知道如何通过使用反应导航的createBottomTabNavigator 在 React-Native 中做到这一点。我不知道在浏览器中使用什么 ReactJS。

【问题讨论】:

    标签: javascript reactjs react-native frontend react-navigation


    【解决方案1】:

    试试这个:

    https://material-ui.com/components/bottom-navigation/+

    假设这与 react native 相同,但对于 reactjs。

    【讨论】:

      【解决方案2】:

      不幸的是,由于站点的 UI/UX 完全不同并且取决于很多因素,因此 ReactJs 没有像 React Native 那样为移动导航建议的标准选项卡导航器。

      尽管有许多带有主题和样式的 3rd 方组件可用,但用于设计类似的东西。我提到了一些流行的,你可以尝试任何适合你要求的人:

      1.react-materialize http://react-materialize.github.io/react-materialize/?path=/story/react-materialize--welcome

      1. 材料-ui https://material-ui.com/

      3.react-toolbox https://github.com/react-toolbox/react-toolbox/

      1. 反应虚拟化http://bvaughn.github.io/react-virtualized/#/components/List

      2. 蓝图https://github.com/palantir/blueprint

      您始终可以从其中一些组件中选择一个或多个组件并根据需要对其进行自定义。

      【讨论】:

        猜你喜欢
        • 2017-05-05
        • 1970-01-01
        • 1970-01-01
        • 2019-08-13
        • 2020-04-23
        • 1970-01-01
        • 1970-01-01
        • 2016-11-08
        • 2019-03-29
        相关资源
        最近更新 更多