五、react-native头部标题按钮
参数说明:
title:可用作后备的字符串headerTitle。此外,将用作tabBarLabel(如果嵌套在TabNavigator中)或drawerLabel(如果嵌套在DrawerNavigator中)的后备。
header:React Element或给定HeaderProps返回React元素的函数,以显示为标题。设置为null隐藏标题。
headerTitle:标头使用的字符串,反应元素或反应组件。默认为场景title。当使用的成分,它接收allowFontScaling,style和children道具。传入标题字符串children。
headerTitleAllowFontScaling:标题标题字体是否应缩放以遵守“文本大小”辅助功能设置。默认为true。
headerBackAllowFontScaling:后退按钮标题字体是否应缩放以遵守“文本大小”辅助功能设置。默认为false。
headerBackImage:React Element或Component在标