Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Apr 23, 2020
1 parent bad9a38 commit 1b77293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ const actionSheetRef = createRef();
<ActionSheet ref={actionSheetRef} />;

// then to show modal use
this.actionSheet.setModalVisible(true);
actionSheetRef.current?.setModalVisible(true);

// and later you may want to hide it using
this.actionSheet.setModalVisible(false);
actionSheetRef.current?.setModalVisible(false);
```
#
Expand Down

0 comments on commit 1b77293

Please sign in to comment.