Text 如何在导航侧抽屉中将文本向右对齐
我正在尝试右对齐侧抽屉中的文本Text 如何在导航侧抽屉中将文本向右对齐,text,alignment,react-navigation,Text,Alignment,React Navigation,我正在尝试右对齐侧抽屉中的文本 drawerPosition: "right", drawerWidth: 280, contentOptions: { itemsContainerStyle: { textAlign: "right", // nope alignItems: "right" // nope }, itemStyle: { textAlign: "right". // nope }, activeTintColo
drawerPosition: "right",
drawerWidth: 280,
contentOptions: {
itemsContainerStyle: {
textAlign: "right", // nope
alignItems: "right" // nope
},
itemStyle: {
textAlign: "right". // nope
},
activeTintColor: "#0ca9dd",
labelStyle: {
fontSize: 18,
alignItems: "right" // nope
textAlign: "right" // nope
},
},
我遗漏了哪一个非常简单的基本步骤?您是否尝试过使用
alignItmes:“flex end”
?是的,但什么都没有发生。