UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 818 B
import React from 'react'; export const SyncAlt = ({ 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.305 8.937L17.789 10.421L22.000 6.211L17.789 2.000L16.305 3.484L17.968 5.158H2.000V7.263H17.968L15.253 9.989Z", fill: color }), React.createElement("path", { d: "M7.695 8.316L6.211 6.832L2.000 11.042L6.211 15.253L7.695 13.768L6.032 12.095H22.000V9.989H6.032L2.000 14.011Z", fill: color }))); }; SyncAlt.displayName = 'SyncAlt';