-
Notifications
You must be signed in to change notification settings - Fork 4
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
Slotify list section #43
Conversation
ci (semantic-release): Allow release on other branches as well.
Merge remote-tracking branch 'origin/next' into slotify-list-section
2aceebe
to
12a1606
Compare
Replaced renderItem prop with mandatory item scoped slot. Added optional filter scoped slot to allow for custom rendering of the filter buttons.
58c1187
to
f6a4418
Compare
src/types/sections.d.ts
Outdated
export interface ListSectionProps<Item> { | ||
/** | ||
* You can pass an optional headline that will be displayed in top of your items. | ||
* You can pass an optional headline that will be displayed on top of your items. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of "on top" I'd prever "above" or "before"
looks good to me (I just left one comment on preposition use in a code comment, which could be improved) |
Merge branch 'next' into slotify-list-section
fix: comment Reworded a type description for headline
🎉 This PR is included in version 2.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 4.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Added Slots to the ListSection. The renderItem prop was replaced by a scopedSlot called item. The filter buttons can now also be rendered using a scoped slot. This is optional though.