Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

【问题】统一 Shape 的枚举 #132

Locked Answered by teacher-zhou
teacher-zhou asked this question in 问答
Discussion options

You must be logged in to vote

最终解决方案

  1. 组件所需要的枚举由组件本身自己定义,规范命名:组件名称+Shape,例如:ButtonShape AvatarShape
  2. 组件的枚举定义在组件类中,不需要特定创建一个cs文件

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wuxinheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
问答
Labels
enhancement 在已有的功能上做出优化 idea 建议、反馈、点子
3 participants
Converted from issue

This discussion was converted from issue #121 on October 10, 2022 02:21.