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

Extend not working as expected. #32

Closed
joetifa2003 opened this issue Sep 13, 2021 · 2 comments
Closed

Extend not working as expected. #32

joetifa2003 opened this issue Sep 13, 2021 · 2 comments

Comments

@joetifa2003
Copy link

When i extend a tw componnent the class names works fine but the dynamic ones don't work.

image

Here in the "SpecialSection" componnent the pt-[72px] works fine but the $fullscreen $container don't work (even though the types gets extended)

@Dudeonyx
Copy link
Contributor

Dudeonyx commented Jan 6, 2022

That's because the transient props get filtered out in SpecialSection and does not get to Section.

Consider using regular props

@MathiasGilson
Copy link
Owner

This should work now thanks to @Dudeonyx PR!

Please update package to 2.1.0

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

3 participants