import React from 'react'; import { View, TouchableOpacity } from 'react-native'; import { Popover, NavBar } from '@xrnjs/ui'; import { IconMAMore1, IconMASearch1 } from '../../../icons'; import Card from '_global/Card'; import styles from './style'; const NavBarUsage: React.FC = () => { const handleSelect = (value: any, index?: number) => { console.log(`选择了第 ${index} 个选项:`, value); }; const navActions = [ { text: '新建菜单', }, { text: '草稿箱', }, { text: '禁用状态', disabled: true, }, ]; return ( console.log('返回')} right={ <> } > 标题文案 ); }; export default NavBarUsage;