onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 1.23 kB
JavaScript
import React from 'react';
export const EditNotifications = ({ 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: "M16.867 6.722L18.833 8.689L13.300 14.222H11.333V12.256L16.867 6.722ZM20.500 6.233L19.322 5.056C19.100 4.833 18.756 4.833 18.533 5.056L17.589 6.000L19.556 7.967L20.500 7.022C20.722 6.800 20.722 6.444 20.500 6.233ZM17.333 13.333V16.222H22.000V18.444H4.222V16.222H6.444V8.444C6.444 5.344 8.567 2.733 11.444 2.000V3.667C9.000 2.744 9.744 2.000 10.667 2.000C11.589 2.000 12.333 2.744 12.333 3.667V2.000C15.689 2.233 16.522 2.656 17.233 3.211L15.644 4.800C14.933 4.289 14.056 4.000 13.111 4.000C10.656 4.000 8.667 5.989 8.667 8.444V18.667H15.111V15.556L17.333 13.333ZM8.444 22.000H12.889C15.333 20.778 14.333 21.778 13.111 21.778C11.889 21.778 10.889 20.778 10.889 19.556Z", fill: color })));
};
EditNotifications.displayName = 'EditNotifications';