Skip to content

How to reuse component variants in other components #657

Answered by peduarte
dannytce asked this question in Help
Discussion options

You must be logged in to vote

Hey! This restriction is by design. We've done that so compositions can happen at the markup layer.

The solution you came up is exactly what I'd do. In fact, it's exactly what we do at Modulz! 🎉

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@dannytce
Comment options

@peduarte
Comment options

@sandgraham
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dannytce
Comment options

You must be logged in to vote
2 replies
@peduarte
Comment options

@LucasUnplugged
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants