2
我被困在navigationOptions
里面添加保存方法你能帮我做正确的方法吗?React-Native导航中的OnPress导航选项
static navigationOptions = ({navigation}) => ({
headerTitle: "Add New Item",
...css.header,
headerRight: <NavViewRight
onPress={() => this.rightHeaderAction()} />,
})