onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 956 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Autorenew = ({ 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: "M12.000 3.818V9.273L12.909 5.636L9.273 2.000V2.000C7.982 2.000 4.727 5.255 4.727 9.273C4.727 10.700 5.145 12.027 5.855 13.145L7.182 11.818C6.773 11.064 6.545 10.191 6.545 9.273C6.545 6.264 8.991 3.818 12.000 3.818ZM18.145 5.400L16.818 6.727C17.218 7.491 17.455 8.355 17.455 9.273C17.455 12.282 15.009 14.727 12.000 14.727V14.727L5.636 18.364L9.273 22.000V16.545C16.018 16.545 19.273 13.291 19.273 9.273C19.273 7.845 18.855 6.518 18.145 5.400Z", fill: color })));
};
Autorenew.displayName = 'Autorenew';