Closed otymartin closed 1 year ago
Use view modifier...
}
.presentation($optionalObject, transition: .sheet(options: .init(detents: [.ideal], prefersGrabberVisible: true, preferredCornerRadius: 16))) { unwrappedObject in
ContentView(object: unwrappedObject)
}
@nathantannar4
Can we have a
PresentationLink
triggered by an optional..Eg:
PresentationLink(transition: PresentationLinkTransition, item: Binding<Item?>, destination: () -> View, label: () -> View>)