Skip to content

Commit 16613f4

Browse files
authored
Update README.md
1 parent 9dc9567 commit 16613f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ const PromotionModal = (args: IProps) => {
105105

106106
export default createModal(
107107
PromotionModal,
108-
animation.generateFadeInFromTop(),
108+
{
109+
animation: animation.generateFadeInFromTop()
110+
},
109111
);
110112
```
111113

@@ -170,7 +172,7 @@ const PromotionHashModal = () => {
170172
export default createStateModal(
171173
PromotionHashModal,
172174
{
173-
...animation.generateFadeInFromTop(),
175+
animation: animation.generateFadeInFromTop(),
174176
isHideWithMaskClick: true,
175177
},
176178
);

0 commit comments

Comments
 (0)