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

Support component-specific props #14

Open
yukukotani opened this issue Jan 29, 2022 · 1 comment
Open

Support component-specific props #14

yukukotani opened this issue Jan 29, 2022 · 1 comment

Comments

@yukukotani
Copy link
Owner

Currently, component-specific props such as Button's isActive prop are treated as non-chakra props.

This should be treated as Chakra props and sorted properly.

It's hard to list all props so code generation from chakra's source code is worth to consider.

@no-yan
Copy link
Collaborator

no-yan commented Feb 1, 2022

In order to support Component Specific Props, we need to know the names of the components. For this reason, we need to decide how to deal with <Chakra.Button/>, <chakra.div>, and <RenamedChakraComponent/>, which we have ignored so far.

If it is too difficult, we may leave it for a while.
I guess I was too tired to think straight.

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

2 participants