Skip to content

Commit b3ba068

Browse files
author
Aditya Bharadwaj
committed
Show white filled check mark icon
1 parent f94fb61 commit b3ba068

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

components/Icons.es6.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,14 @@ function AiAssist (props) {
5050
return <Icon path={path} {...props} />
5151
}
5252

53-
function Check (props) {
54-
const path = 'M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z'
55-
return <Icon path={path} {...props} />
53+
function Check ({ color, className, viewBox, width, height, style, checkColor }) {
54+
checkColor = checkColor ?? 'transparent';
55+
return (
56+
<svg className={className} width={width} height={height} viewBox={viewBox} style={style} xmlns="http://www.w3.org/2000/svg">
57+
<path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z" fill={color} />
58+
<path d="M7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z" fill={checkColor} />
59+
</svg>
60+
)
5661
}
5762

5863
function Checkmark (props) {

0 commit comments

Comments
 (0)