ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
> [Text](http://facebook.github.io/react-native/docs/text.html#content) ## 属性 | 名称 | 类型 | 意义 | 默认值 | | --- | --- | --- | --- | | allowFontScaling | bool | 设置是否允许iOS中辅助工具扫描 | 无 | | numberOfLines | number | 可显示的行数,超过该行后,用省略号代替 | 无 | | onLayout | function | {nativeEvent: {layout: {x, y, width, height}}}该表布局后调用的函数 | 无 | | onPress | function | 点击文本控件的回调函数 | 无 | | style | sytle | 文本框的样式 | 无 | | testID | string | 用于测试的id号 | 无 | | iossuppressHighlighting | bool | (iOS特有)按下是否高亮,当为true时,有一个渐变的效果,默认灰色椭圆突出 | true |