Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat react template doc #1495

Merged
merged 80 commits into from
Jun 3, 2024
Merged

Feat react template doc #1495

merged 80 commits into from
Jun 3, 2024

Conversation

yandadaFreedom
Copy link
Collaborator

No description provided.

@@ -0,0 +1,816 @@
# Mpx转RN样式使用指南
Copy link
Collaborator

@hiyuki hiyuki May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文档重新组织一下吧,大的目录如下:

  1. 样式编写限制(包括选择器限制,布局限制, 样式单位限制 )
  2. 组件样式规则(特定组件我们添加的默认样式及样式增强,如view/text/image等)
  3. 样式参考(css视角我们支持的所有样式属性的展开说明,支持的缩写形式也放在这部分里)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用户文档不是技术文档,目标用户是使用者而不是开发者,编写的视角也应该用使用者的视角,一些技术内部实现和使用者无关的都可以不用介绍,比如内部的编译转换逻辑等等


注意事项

1. 未包裹text标签的文本,会自动包裹text标签。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该是text的注意事项吧

@hiyuki hiyuki merged commit 32421c1 into feat-react Jun 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants