onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.01 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const PhonelinkRing = ({ 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: "M19.364 8.091L18.455 9.000C20.091 10.636 20.091 13.182 18.455 14.909L19.364 15.818C21.636 13.727 21.636 10.273 19.364 8.091ZM17.455 10.000L16.545 10.909C17.000 11.545 17.000 12.364 16.545 13.000L17.455 13.909C18.545 12.818 18.545 11.182 17.455 10.000ZM13.818 2.000H4.727C3.727 2.000 2.909 2.818 2.909 3.818V20.182C2.909 21.182 3.727 22.000 4.727 22.000H13.818C14.818 22.000 15.636 21.182 15.636 20.182V3.818C15.636 2.818 14.818 2.000 13.818 2.000ZM13.818 19.273H4.727V4.727H13.818V19.273Z", fill: color })));
};
PhonelinkRing.displayName = 'PhonelinkRing';