Replies: 2 comments 2 replies
-
Is there any news here? I am also interested in this use case. |
Beta Was this translation helpful? Give feedback.
2 replies
-
If someone comes accross that, I made this possible, it's not really workable with slots, but you can work around it, this blog post describes how: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thank you for creating ViewComponent, it's a breath of fresh air after regular partials & helpers 🙏🏻
I'm trying to create a generic data table component that will be usable for different types of data. The component currently looks like this:
This works, but it's not great that headers and data are separate, and that alignment and sortability of individual columns are specified separately.
I'm wondering if there is a way to use slots to achieve something like this:
Beta Was this translation helpful? Give feedback.
All reactions