-
Notifications
You must be signed in to change notification settings - Fork 33
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
Sharing proptypes between components #111
Comments
Option 1 requires an improvement in react-docgen: reactjs/react-docgen#33. Option 2 may still be doable. |
+1 |
1 similar comment
👍 |
+1 just got surprised this, was sad it doesn't work since you can get similar enforcement with typescript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have some common proptypes that I want to maintain in a single place as a constant:
If I add more themes, I only need to edit this one file and not every component. However, I can no longer change it in BlueKit, because it's detected as a "custom" property. It would be handy if BlueKit could either:
The text was updated successfully, but these errors were encountered: