We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have following:
const Button = createComponent('button', { styles: { // some styles with variants }, variants: [...] }); const AddButton = createComponent(Button, { defaultProps: { type: 'button', variant: 'variant from Button' }, styles: { fontSize: 0, lineHeight: 0, fontWeight: 'semiBold', mb: 2, }, });
then when we do:
<AddButton as="a">Add</AddButton>
it seems that styles from Button are not applied at all and variants are passed to a but aren't processed resulting to variant HTML attribute.
Button
a
variant
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have following:
then when we do:
it seems that styles from
Button
are not applied at all and variants are passed toa
but aren't processed resulting tovariant
HTML attribute.The text was updated successfully, but these errors were encountered: