UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

11 lines (10 loc) 1.69 kB
import React from 'react'; export const AdminPanelSettings = ({ 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 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }), React.createElement("path", { d: "M17.000 10.090V5.270L9.500 2.000L2.000 5.270V10.180C2.000 14.720 5.200 18.970 9.500 20.000C10.050 19.870 10.580 19.680 11.100 19.450C12.180 20.990 13.970 22.000 16.000 22.000C19.310 22.000 22.000 19.310 22.000 16.000C22.000 13.030 19.840 10.570 17.000 10.090ZM10.000 16.000C10.000 16.560 10.080 17.110 10.230 17.620C9.990 17.730 9.750 17.840 9.500 17.920C6.330 16.920 4.000 13.680 4.000 10.180V6.580L9.500 4.180L15.000 6.580V10.090C12.160 10.570 10.000 13.030 10.000 16.000ZM16.000 20.000C13.790 20.000 12.000 18.210 12.000 16.000C12.000 13.790 13.790 12.000 16.000 12.000C18.210 12.000 20.000 13.790 20.000 16.000C20.000 18.210 18.210 20.000 16.000 20.000Z", fill: color }), React.createElement("path", { d: "M12.000 2.000C8.741 2.000 2.223 3.607 2.000 6.821C4.232 9.991 7.893 12.045 12.000 12.045C16.107 12.045 19.768 9.991 22.000 6.821C21.777 3.607 15.259 2.000 12.000 2.000Z", fill: color }))); }; AdminPanelSettings.displayName = 'AdminPanelSettings';