Sha256: 386847c4cbf01572215526879681d5e641696e1b4b3b09139e2dbf0acec603c0
Contents?: true
Size: 1.4 KB
Versions: 1036
Compression:
Stored size: 1.4 KB
Contents
```swift GridRow { PBButton(variant: .secondary, title: "Top Left") { position = .topLeft toastView = PBToast( text: "Top Left", variant: .neutral, actionView: .default, dismissAction: closeToast ) } PBButton(variant: .secondary, title: "Top Right") { position = .topRight toastView = PBToast( text: "Top Right", variant: .neutral, actionView: .default, dismissAction: closeToast ) } } GridRow { PBButton(variant: .secondary, title: "Top Center") { position = .top toastView = PBToast( text: "Top Center", variant: .neutral, actionView: .default, dismissAction: closeToast ) } PBButton(variant: .secondary, title: "Bottom Center") { position = .bottom toastView = PBToast( text: "Bottom Center", variant: .custom(.user, .status(.neutral)), actionView: .default, dismissAction: closeToast ) } } GridRow { PBButton(variant: .secondary, title: "Bottom Left") { position = .bottomLeft toastView = PBToast( text: "Bottom Left", variant: .custom(.user, .status(.neutral)), actionView: .default, dismissAction: closeToast ) } PBButton(variant: .secondary, title: "Bottom Right") { position = .bottomRight toastView = PBToast( text: "Bottom Right", variant: .custom(.user, .status(.neutral)), actionView: .default, dismissAction: closeToast ) } } ```
Version data entries
1,036 entries across 1,036 versions & 2 rubygems