Skip to content

Commit

Permalink
doc(*): fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
shangqunfeng committed Jun 2, 2024
1 parent ebf7357 commit a7a4b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-vuepress/rn-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RN中的文本必须用Text节点包裹。mpx做一定的优化,可以在view

#### view内设定的文本类样式会下沉到第一层text标签

Mpx会把view标签上的文本样式设置到第一层的子节点上,文本样式主要有`color``font开头``text开头``line-height``letterSpacing`等。可适用于以下的场景:
Mpx会把view标签上的文本样式设置到第一层的子节点上,文本样式的主要样式有`color``font开头``text开头``line-height``letterSpacing`等。可适用于以下的场景:
1. view标签下直接写文本
2. view标签下写文本标签
3. view标签下的多文本节点
Expand Down

0 comments on commit a7a4b09

Please sign in to comment.