Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lm2343635 authored Jan 17, 2021
1 parent 691d8cf commit eef8410
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,22 @@ alert.onNextTip("Hello")
```
From the version `0.8.4`, using the wrapper methods for RxAlert and RxActionSheet is recomended.

From the version `1.1`, alert with multiple actions was supported.

```swift
alert.onNextMultiple(
title: "Multiple",
message: "Multiple actions alert",
.destructive(title: "destructive") {
self.alert.onNextTip("destructive")
},
.default(title: "default") {
self.alert.onNextTip("default")
},
.customCancel(title: "customCancel")
)
```

### Customized default title, button name and tint color.

Customize your own strings and tint color using the following code.
Expand Down

0 comments on commit eef8410

Please sign in to comment.