onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 987 B
JavaScript
import React from 'react';
export const CheckCircle = ({ size = 'md', color = 'currentColor', className, style, }) => {
const sizeMap = { xs: 16, sm: 20, md: 24, lg: 32, xl: 40 };
const iconSize = typeof size === 'number' ? size : sizeMap[size];
return (React.createElement("svg", { width: iconSize, height: iconSize, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: style },
React.createElement("path", { d: "M12.000 2.000C6.480 2.000 2.000 6.480 2.000 12.000C2.000 17.520 6.480 22.000 12.000 22.000C17.520 22.000 22.000 17.520 22.000 12.000C22.000 6.480 17.520 2.000 12.000 2.000ZM12.000 20.000C7.590 20.000 4.000 16.410 4.000 12.000C4.000 7.590 7.590 4.000 12.000 4.000C16.410 4.000 20.000 7.590 20.000 12.000C20.000 16.410 16.410 20.000 12.000 20.000ZM16.590 7.580L10.000 14.170L7.410 11.590L6.000 13.000L10.000 17.000L18.000 9.000L16.590 7.580Z", fill: color })));
};
CheckCircle.displayName = 'CheckCircle';