Skip to content

Commit

Permalink
Merge pull request #25 from srabuini/patch-1
Browse files Browse the repository at this point in the history
Rename onTrigger to action
  • Loading branch information
Sadmansamee authored Oct 31, 2019
2 parents 06b889b + d6c52eb commit 284ae0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ ActionSheet(
title: Text("Title"),
message: Text("Message"),
buttons: [
.default(Text("Ok!"), onTrigger: { print("hello") })
.default(Text("Ok!"), action: { print("hello") })
]
)
```
Expand Down

0 comments on commit 284ae0b

Please sign in to comment.