-
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.
Merge pull request #26 from tonalty/added-error-message-earn-points
- Loading branch information
Showing
9 changed files
with
141 additions
and
20 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
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,25 @@ | ||
.wrapper { | ||
position: relative; | ||
} | ||
|
||
.msg { | ||
display: flex; | ||
font-size: 16px; | ||
line-height: 22px; | ||
align-items: center; | ||
background: #ffeaea; | ||
text-align: left; | ||
padding-left: 16px; | ||
height: 68px; | ||
border-radius: 16px; | ||
} | ||
|
||
.msgDark { | ||
color: black; | ||
} | ||
|
||
.svgWrapper { | ||
position: absolute; | ||
top: 20px; | ||
left: 110px; | ||
} |
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,32 @@ | ||
interface Props { | ||
[key: string]: unknown; | ||
} | ||
|
||
export const ErrorIcon = (props: Props) => { | ||
return ( | ||
<svg | ||
{...props} | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M8 14.6909C11.6953 14.6909 14.6909 11.6953 14.6909 8C14.6909 4.30471 11.6953 1.30909 8 1.30909C4.30471 1.30909 1.30909 4.30471 1.30909 8C1.30909 11.6953 4.30471 14.6909 8 14.6909ZM8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z" | ||
fill="#FF3A30" | ||
/> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M8 3.70909C8.3615 3.70909 8.65455 4.00214 8.65455 4.36364V8.36364C8.65455 8.72513 8.3615 9.01818 8 9.01818C7.6385 9.01818 7.34546 8.72513 7.34546 8.36364V4.36364C7.34546 4.00214 7.6385 3.70909 8 3.70909Z" | ||
fill="#FF3A30" | ||
/> | ||
<path | ||
d="M8.90909 11.4545C8.90909 11.9566 8.50208 12.3636 8 12.3636C7.49792 12.3636 7.09091 11.9566 7.09091 11.4545C7.09091 10.9525 7.49792 10.5455 8 10.5455C8.50208 10.5455 8.90909 10.9525 8.90909 11.4545Z" | ||
fill="#FF3A30" | ||
/> | ||
</svg> | ||
); | ||
}; |
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