UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 992 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const DataSaverOff = ({ 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: "M13.028 2.000V5.088C16.376 5.579 18.992 8.486 18.992 12.025C18.992 12.927 18.812 13.779 18.511 14.571L21.118 16.105C21.679 14.862 22.000 13.479 22.000 12.025C22.000 6.832 18.040 2.551 12.977 2.050ZM11.975 19.043C8.095 19.043 4.957 15.905 4.957 12.025C4.957 8.486 7.574 5.579 10.972 5.088V2.000C5.950 2.501 2.000 6.772 2.000 11.975C2.000 17.509 6.481 22.000 12.015 22.000C15.333 22.000 18.271 20.386 20.095 17.900L17.489 16.366C16.206 17.970 14.241 18.992 12.025 18.992Z", fill: color }))); }; DataSaverOff.displayName = 'DataSaverOff';