We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4244bcc commit 090d90aCopy full SHA for 090d90a
README.md
@@ -66,6 +66,22 @@ const ref = useRef<AnimatedModalObject>(null);
66
<AnimatedModal ref={ref} />
67
```
68
69
+### Opening modal
70
+
71
+```typescript
72
+// Open modal
73
+ref.current?.OpenModal()
74
75
+// Open modal with animation
76
+ref.current?.OpenModal(ModalAnimation.Reveal)
77
+```
78
79
+### Closing modal
80
81
82
+ref.current?.CloseModal()
83
84
85
### Modal Animations
86
87
For now, the library supports seven different animations:
0 commit comments