React native 如何在屏幕上显示传统蒙古文文本?
如何显示自上而下以母语书写的传统蒙古文脚本 对于,flutch,我找到了这个,但我需要其他解决方案。我尝试旋转整个视图,但它最终在中心旋转,而不是在左上角 我的代码:React native 如何在屏幕上显示传统蒙古文文本?,react-native,React Native,如何显示自上而下以母语书写的传统蒙古文脚本 对于,flutch,我找到了这个,但我需要其他解决方案。我尝试旋转整个视图,但它最终在中心旋转,而不是在左上角 我的代码: const CustomButton = props => { return ( <Button {...props} style={[styles.container, props.style]} > <Text>
const CustomButton = props => {
return (
<Button
{...props}
style={[styles.container, props.style]}
>
<Text>
{props.children}
</Text>
</Button >
)
}
const styles = StyleSheet.create({
container: {
justifyContent: 'center',
height: 56,
transform: [
{ rotate: '90deg' },
],
backgroundColor: 'pink'
}
})
const CustomButton=props=>{
返回(
{props.children}
)
}
const styles=StyleSheet.create({
容器:{
为内容辩护:“中心”,
身高:56,
转换:[
{旋转:“90度”},
],
背景颜色:“粉色”
}
})