[React-Native]RN组件学习-ToolbarAndroid



就是这样的:

toolbar

其中actions中的内容可以是:

var toolbarAction = [
    {
        title: '菜单1',
        icon: require('./img/hehe.png'),
    },
    {
        title: '菜单2',
        // show字段用于表明是否隐藏在右边的菜单中还是在显示在toolbar中
        show:'always'
    }
]

你可能感兴趣的:([React-Native]RN组件学习-ToolbarAndroid)