Skip to content
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

Bottom sheet with Item #1977

Merged
merged 7 commits into from
Jun 3, 2024
Merged

Bottom sheet with Item #1977

merged 7 commits into from
Jun 3, 2024

Conversation

frugoman
Copy link
Contributor

@frugoman frugoman commented Jun 3, 2024

Adding the posibility to show bottom sheets using SwiftUI's item based API.

@frugoman frugoman added swiftui minor Non breaking change labels Jun 3, 2024
@frugoman frugoman enabled auto-merge June 3, 2024 12:54

### Bottom Sheet with Item

You can also use the Binding Optional `item` paramter instead of the `isPresented` parameter to show the bottom sheet. If the `item` is not `nil`, the bottom sheet will be shown. The item must conform to the `Identifiable` protocol.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo in paramter

@frugoman frugoman merged commit bb7c3cf into main Jun 3, 2024
14 of 15 checks passed
@frugoman frugoman deleted the item_bottom_sheet branch June 3, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants