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

React Generator插件实现可生成多种jsx/tsx模板,可自定义 #1063

Open
Hedgehog-03 opened this issue Mar 22, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Hedgehog-03
Copy link

问题描述/Problem Description

React Generator 插件只能生成一种特定的 jsx/tsx 模板,也就是普通的 Function Component,不能生成 Arrow Function Component.

建议的方案/Proposal

提供一个扩展设置入口API,使得用户可以自定义生成的 jsx/tsx 模板。

备选的方案/Alternatives

或是提供一个扩展设置入口API,用户可以选择生成 Function Component 或 Arrow Function Component,或古早项目的 Class Component.

附加信息/Other Information

辛苦AppWorks开发团队

@Hedgehog-03 Hedgehog-03 added the enhancement New feature or request label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant