Replies: 1 comment 3 replies
-
Hi @tobitech, you can use the .sheet(item: $scope(state: \.destination?.docs, action: \.destination.docs) { _ in
Text("Your documents")
}
.sheet(item: $scope(state: \.destination?.archive, action: \.destination.archive) { _ in
Text("Your archive")
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I don't know if this has been answered before but how can I derive a
Binding
from a Store to use for navigation without scoping the store cause I want to present a View without a Reducer.Assuming I have a Destination Reducer in my feature:
I want to be able to derive a binding I can use to present views for the
docs
andarchive
destinations using the.sheet(item:)
modifier.The lines of code below using the sheet modifier don't compile.
Beta Was this translation helpful? Give feedback.
All reactions