-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): 커피챗 요청, 수락시 콘페티 이펙트 추가 (#390)
- Loading branch information
1 parent
eb1695c
commit 4b602d7
Showing
5 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import JSConfetti from 'js-confetti'; | ||
|
||
export const useShowConfettiEffect = () => { | ||
const jsConfetti = new JSConfetti(); | ||
|
||
const showConfettiEffect = () => { | ||
jsConfetti.addConfetti({ | ||
confettiColors: ['#7046F7', '#8D6BF9', '#A990FA', '#C6B5FC'], | ||
confettiNumber: 500, | ||
}); | ||
}; | ||
|
||
return { showConfettiEffect }; | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.