onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.06 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const WifiOff = ({ 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: "M20.182 10.509L22.000 8.691C18.609 5.300 13.936 4.009 9.545 4.773L11.891 7.118C14.891 7.100 17.900 8.227 20.182 10.509ZM18.364 12.327C17.382 11.345 16.218 10.645 14.982 10.209L17.727 12.955L18.364 12.327ZM9.273 15.964L12.000 18.691L14.727 15.964C13.227 14.455 10.782 14.455 9.273 15.964ZM4.191 2.000L2.909 3.282L5.682 6.055C4.355 6.718 3.109 7.591 2.000 8.691L3.818 10.509C4.936 9.391 6.227 8.545 7.609 7.982L9.645 10.018C8.173 10.409 6.791 11.182 5.636 12.327L7.455 14.145C8.682 12.918 10.282 12.291 11.900 12.273L18.336 18.709L19.618 17.427L4.191 2.000Z", fill: color })));
};
WifiOff.displayName = 'WifiOff';