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

jsx属性拓展 #70

Open
zhangdexian opened this issue Feb 27, 2023 · 0 comments
Open

jsx属性拓展 #70

zhangdexian opened this issue Feb 27, 2023 · 0 comments

Comments

@zhangdexian
Copy link

JSXAttribute: (path) => {
if (/^(?:css|style)$/.test(path.node.name.name)) {
addObjectJob(path.get("value.expression"));
}
},

目前看只支持css合style属性,能否增加一个配置项去解析自定义的props,一些组件传样式过去还挺常见的,比如bodyStyle

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

No branches or pull requests

1 participant