UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

10 lines (9 loc) 835 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const PermScanWifi = ({ 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 2.000C7.792 2.000 4.625 3.542 2.000 5.525L12.000 17.833L22.000 5.542C19.375 3.558 16.208 2.000 12.000 2.000ZM4.433 5.875C6.833 4.375 9.283 3.667 12.000 3.667C14.708 3.667 17.150 4.375 19.567 5.892L12.000 15.192L4.433 5.875ZM11.167 7.833H12.833V12.833H11.167V7.833ZM11.167 4.500H12.833V6.167H11.167V4.500Z", fill: color }))); }; PermScanWifi.displayName = 'PermScanWifi';