onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 788 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const SyncAlt = ({ size = 'md', color = 'currentColor', 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", 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';