as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容

Example

Reference

Props

color


fontFamily

To use a custom font, place the font file inside <project-root>/assets/fonts/ directory of the app. The file name must match the font family name. For example, if the font family name is “Open Sans” and the font is a ttf font the file name must be “Open Sans.ttf”. Similarly, an otf must be named “Open Sans.otf”.

fontSize


fontStyle


fontWeight

Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.

letterSpacing

Increase or decrease the spacing between characters. By default there is no extra letter spacing.

lineHeight


textAlign

Specifies text alignment.

textAlignVertical


textDecorationColor


textDecorationLine


textDecorationStyle


textShadowColor


textShadowOffset


textShadowRadius


textTransform


writingDirection

最后修改于 2026年10月26日