Skip to content

Commit 64aa4b0

Browse files
adbharadwajAditya Bharadwaj
andauthored
Show white filled check mark icon (#89)
* Show white filled check mark icon * Bump package * Fix --------- Co-authored-by: Aditya Bharadwaj <[email protected]>
1 parent f94fb61 commit 64aa4b0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

components/Icons.es6.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,13 @@ 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, path, viewBox, width, height, style, checkColor }) {
54+
return (
55+
<svg className={className} width={width} height={height} viewBox={viewBox} style={style} xmlns="http://www.w3.org/2000/svg">
56+
<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} />
57+
<path d="M7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z" fill={checkColor || 'transparent'} />
58+
</svg>
59+
)
5660
}
5761

5862
function Checkmark (props) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@b12/metronome",
3-
"version": "1.1.31",
3+
"version": "1.1.32",
44
"description": "",
55
"main": "index.es6.js",
66
"scripts": {

0 commit comments

Comments
 (0)