struct ContentView: View {
@State var tostPresented = false
var body: some View {
Button("Show toast") {
toastPresented = true
}
.toast(isPresented: $toastPresented) {
ToastView(title: "This a toast")
}
}
}
link |
Stars: 0 |
Last commit: 15 weeks ago |
Full Changelog: https://github.com/binaryscraping/swiftui-toast/compare/0.1.0...0.1.1
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics