UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.36 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const WatchOff = ({ 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.667 8.667C16.347 8.667 19.333 11.653 19.333 15.333C19.333 16.187 19.160 17.000 18.867 17.760L20.867 19.760C21.587 18.440 22.000 16.933 22.000 15.333C22.000 12.373 20.627 9.747 18.480 8.040L16.667 2.000H8.667L10.053 3.613L12.907 6.467C13.667 6.173 14.480 6.000 15.333 6.000ZM13.320 2.000H17.347L15.187 6.360C14.453 6.147 12.560 5.680 10.147 6.360L10.653 4.667Z", fill: color }), React.createElement(Path, { d: "M3.338 2.000L2.000 3.329L6.204 7.533C5.695 8.466 5.402 9.531 5.402 10.662C5.402 12.754 6.373 14.611 7.891 15.817L9.172 20.087H14.828L14.394 18.400L17.994 22.000L19.323 20.671L2.000 3.338ZM12.085 19.540H9.238L10.219 17.005C10.737 17.146 12.075 17.485 13.781 17.005L13.423 18.202ZM12.000 15.374C9.399 15.374 7.287 13.263 7.287 10.662C7.287 10.058 7.410 9.484 7.617 8.946L13.715 15.044C13.178 15.252 12.603 15.374 12.000 15.374Z", fill: color }))); }; WatchOff.displayName = 'WatchOff';