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
Is it currently possible or are there plans to support adding extra props to a component that can then be passed on to the passthrough arguments?
Example:
Most of my Panels are only text, so I have some padding for the content:
Panel
content: { class: 'p-4 sm:p-6' }
I would like the possibility to also have panels with no margins since that works better for some content.
Ideally I would be able to do something like this:
// MyComponent.vue <Panel noMargin header="Foo"> <AnotherComponent /> </Panel>
and then change my preset to the following:
content: { class: [ { 'p-4 sm:p-6': props.noMargin !== true } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it currently possible or are there plans to support adding extra props to a component that can then be passed on to the passthrough arguments?
Example:
Most of my
Panel
s are only text, so I have some padding for the content:I would like the possibility to also have panels with no margins since that works better for some content.
Ideally I would be able to do something like this:
and then change my preset to the following:
The text was updated successfully, but these errors were encountered: