-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added custom toast icons, messaging improvements
- Loading branch information
1 parent
1d8193b
commit 34d6c81
Showing
6 changed files
with
65 additions
and
11 deletions.
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
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,33 @@ | ||
export const CustomSuccessIcon = () => ( | ||
<div className="flex items-center justify-center w-7 h-7"> | ||
<svg | ||
width="26" | ||
height="26" | ||
viewBox="0 0 26 26" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M13 0.5C6.09651 0.5 0.5 6.09651 0.5 13C0.5 19.9035 6.09651 25.5 13 25.5C19.9035 25.5 25.5 19.9035 25.5 13C25.5 6.09651 19.9035 0.5 13 0.5ZM12.5489 20.1217C11.8469 20.8237 10.7088 20.8237 10.0068 20.1217L8.73569 18.8506L4.57888 14.6941C3.87685 13.9921 3.87685 12.854 4.57888 12.1519C5.2809 11.4499 6.41898 11.4499 7.121 12.1519L11.2775 16.3085L19.6381 7.94791C20.3401 7.24588 21.4782 7.24588 22.1802 7.94791C22.8823 8.64993 22.8823 9.78801 22.1802 10.49L12.5489 20.1217Z" | ||
fill="#357333" | ||
/> | ||
</svg> | ||
</div> | ||
); | ||
|
||
export const CustomErrorIcon = () => ( | ||
<div className="flex items-center justify-center w-7 h-7"> | ||
<svg | ||
width="26" | ||
height="26" | ||
viewBox="0 0 26 26" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M13 0.5C6.0965 0.5 0.5 6.0965 0.5 13C0.5 19.9035 6.0965 25.5 13 25.5C19.9035 25.5 25.5 19.9035 25.5 13C25.5 6.0965 19.9035 0.5 13 0.5ZM19.3268 16.6845C20.0566 17.4142 20.0566 18.5974 19.3268 19.3268C18.5971 20.0566 17.414 20.0566 16.6845 19.3268L13 15.6423L9.31549 19.3268C8.58576 20.0566 7.40264 20.0566 6.67318 19.3268C5.94345 18.5971 5.94345 17.414 6.67318 16.6845L10.3577 13L6.67318 9.31549C5.94345 8.58576 5.94345 7.40264 6.67318 6.67318C7.40292 5.94345 8.58604 5.94345 9.31549 6.67318L13 10.3577L16.6845 6.67318C17.4142 5.94345 18.5974 5.94345 19.3268 6.67318C20.0566 7.40292 20.0566 8.58604 19.3268 9.31549L15.6423 13L19.3268 16.6845Z" | ||
fill="#993B45" | ||
/> | ||
</svg> | ||
</div> | ||
); |
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