onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.37 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const CellWifi = ({ 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: "M5.984 20.088H22.000V4.042L5.984 20.088ZM19.998 18.086H17.996V10.859L19.998 8.857V19.998ZM3.291 7.205L2.000 5.914C5.904 2.000 12.250 2.000 16.164 5.914L14.873 7.205C11.680 4.012 6.484 4.012 3.291 7.205ZM11.009 11.059L9.077 12.991L7.145 11.059C8.216 9.998 9.938 9.998 11.009 11.059ZM12.300 9.778C10.518 8.006 7.636 8.006 5.864 9.778L4.573 8.486C7.055 6.004 11.099 6.004 13.581 8.486L12.300 9.778Z", fill: color }),
React.createElement(Path, { d: "M2.000 22.000H5.806V18.187L2.000 22.000ZM5.331 21.524H4.855V19.807L5.331 19.331V21.032ZM2.307 17.991L2.000 17.685C2.928 16.754 4.436 16.754 5.366 17.685L5.059 17.991C4.300 17.233 3.066 17.233 2.307 17.991ZM4.141 18.907L3.682 19.366L3.223 18.907C3.477 18.655 3.887 18.655 4.141 18.907ZM4.448 18.603C4.025 18.182 3.339 18.182 2.918 18.603L2.611 18.296C3.201 17.706 4.162 17.706 4.752 18.296L4.448 18.603Z", fill: color })));
};
CellWifi.displayName = 'CellWifi';