-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(alertv2): updated Alert and Warning for AlertV2
- Loading branch information
1 parent
9ed44de
commit c1c217f
Showing
6 changed files
with
122 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
interface CircleExclamationProps { | ||
color: string; | ||
} | ||
const CircleExclamationIconWrapper = styled.div` | ||
width: 22.5px; | ||
height: 22.5px; | ||
`; | ||
|
||
function CircleExclamationIcon({ color }: CircleExclamationProps) { | ||
return ( | ||
<CircleExclamationIconWrapper> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> | ||
<path | ||
fill={color} | ||
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z" | ||
/> | ||
</svg> | ||
</CircleExclamationIconWrapper> | ||
); | ||
} | ||
|
||
export default CircleExclamationIcon; |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
import * as React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
interface TriangleExclamationProps { | ||
color: string; | ||
} | ||
const TriangleExclamationIconWrapper = styled.div` | ||
width: 22.5px; | ||
height: 22.5px; | ||
`; | ||
|
||
function TriangleExclamationIcon({ color }: TriangleExclamationProps) { | ||
return ( | ||
<TriangleExclamationIconWrapper> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> | ||
<path | ||
fill={color} | ||
d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z" | ||
/> | ||
</svg> | ||
</TriangleExclamationIconWrapper> | ||
); | ||
} | ||
|
||
export default TriangleExclamationIcon; |