onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.31 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const PhoneForwarded = ({ 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.000 16.500C17.750 16.500 16.550 16.300 15.430 15.930C15.330 15.900 15.220 15.880 15.120 15.880C14.860 15.880 14.610 15.980 14.410 16.170L12.210 18.370C9.380 16.930 7.060 14.620 5.620 11.780L7.820 9.570C8.100 9.310 8.180 8.920 8.070 8.570C7.700 7.450 7.500 6.250 7.500 5.000C7.500 4.450 7.050 4.000 6.500 4.000H3.000C4.450 2.000 4.000 2.450 4.000 3.000C4.000 12.390 11.610 20.000 21.000 20.000C21.550 20.000 22.000 19.550 22.000 19.000V17.500C20.000 16.950 19.550 16.500 19.000 16.500ZM4.030 6.000H5.530C7.600 4.880 7.750 5.750 7.980 6.580L6.780 7.790C6.380 6.580 6.120 5.320 6.030 4.000ZM20.000 17.970C18.680 17.880 17.400 17.620 16.200 17.210L17.400 16.010C18.250 16.250 19.120 16.400 20.000 16.460V19.970ZM17.000 12.000L22.000 7.000L17.000 2.000V3.000H15.000V7.000H19.000V10.000Z", fill: color })));
};
PhoneForwarded.displayName = 'PhoneForwarded';