-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat/#36] Toast component #37
Conversation
β¦entComponent # Conflicts: # src/page/main/index/Main.tsx
β¦mponent # Conflicts: # src/asset/svg/index.ts # src/page/main/index/Main.tsx
[Feat] Contents μ»΄ν¬λνΈ κ΅¬ν
[Feat] νλ‘ν λ²νΌ μ»΄ν¬λνΈ
[Feat] νλ¨ Nav μ»΄ν¬λνΈ κ΅¬ν
[Feat/#26 ] λκΈ μ»΄ν¬λνΈ κ΅¬ν
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ν μ€νΈ μ»΄ν¬λνΈ κΉλνκ² κ΅¬νλμλ€μ~
λ€λ§ λΉμ₯μ μ¬μ©νλ κ³³μ΄ μμ§λ§ λμ€μ μ¬μ©νκ² λλ€λ©΄ propμ΄ λ νμν κ±° κ°μμ!
isVisible λ‘ ν μ€νΈ μ€ν μ¬λΆλ₯Ό κ΄λ¦¬νκ³ , useToastμ κ°μ ν
μ ν΅ν΄ ν μ€νΈ μνλ₯Ό κ΄λ¦¬νλ κ² μ¬μ©μ± μΈ‘λ©΄μμ μ’μ κ² κ°μμ! μ°Έκ³ λ§ ν΄λκ³ λμ€μ μ¬μ λκ±°λ μ€μ λ‘ μ¬μ©ν λ κ°μ ν΄λ΄
μλ€!
μΆ©λ μ²λ¦¬λ μ κ° λ°©κΈ νκ³ push ν΄λμ΅λλ€ μ΄νΈν κ²μ!
π₯ Related Issues
β μμ 리μ€νΈ
π§ μμ λ΄μ©
[ @param variant μ’ λ₯ (default, error) ]
Toast λ variant κ° λκ° μ λλ€.
[ @param iconColor μμ΄μ½ μμ (black, white) ]
μμ μλ X λ²νΌμ μμμ props λ‘ μ€μΌ ν©λλ€.
μΆν λμμΈμ λ°λΌ κ°μ λ°°κ²½μ΄λΌλ λ²νΌ μκΉμ΄ λ€λ₯Ό μ μμ κ²μ΄λΌ μκ°νμ¬ λ€μκ³Ό κ°μ΄ ꡬννλλ°, νΉμ λ€λ₯Έ μ견 μμΌμλ©΄ μ£Όμλ©΄ κ°μ¬ν©λλ€.
π£ 리뷰μ΄μκ² μ΄λ μ κ°μ?
ν΄λΉ λμμΈ λ°°κ²½ ꡬν λ¬Έμ μμμ΅λλ€.
λ λ°©λ² μ€ 2λ² λ°©λ² μ ννμμ΅λλ€.
κ·Έ λ°©λ²μμ μ€λ λ¬Έμ λ
-> μΆμΆν μμμ ν¬κΈ°λ³΄λ€ ν μ€νΈ ν¬κΈ°κ° 컀μ§λ©΄ λ¬Έμ κ° μμ μ μμ.
ν΄λΉ μμμ ν¬κΈ° μ체λ₯Ό κ³ μ νλ λ°©λ²μΌλ‘ ν΄κ²°νμμ΅λλ€.
πΈ μ€ν¬λ¦°μ· / GIF / Link
variant = default
https://github.com/user-attachments/assets/d6074f45-73a0-40b9-803a-f3906bac3456
variant = error
https://github.com/user-attachments/assets/15685dae-0225-457e-b670-c0bb653212ab