【发布时间】:2018-08-08 08:32:05
【问题描述】:
是否可以在 React Native 中制作多行文本,其中行的长度不同?
我的情况有一个示例地址(可以是任何字符串),其中相同长度的行:
const address = 'Circular Quay, Alfred St, Sydney 2021 NSW Alexandria';
return (
<View style={{width: 80}}>
<Text>{address}</Text>
</View>
)
想要的结果:
【问题讨论】:
标签: react-native react-native-text