UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.08 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const AlarmOn = ({ 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: "M10.403 14.600L8.293 12.490L7.243 13.540L10.393 16.690L16.337 10.747L15.287 9.697L10.403 14.600ZM17.136 2.000L21.700 5.809L20.432 7.329L15.865 3.523L17.136 2.000ZM6.563 2.000L7.833 3.522L3.268 7.329L2.000 5.808L6.563 2.000ZM11.849 4.169C6.926 4.169 2.934 8.161 2.934 13.085C2.934 18.008 6.926 22.000 11.849 22.000C16.773 22.000 20.765 18.008 20.765 13.085C20.765 8.161 16.773 4.169 11.849 4.169ZM11.849 20.019C8.026 20.019 4.915 16.908 4.915 13.085C4.915 9.261 8.026 6.151 11.849 6.151C15.673 6.151 18.784 9.261 18.784 13.085C18.784 16.908 15.673 20.019 11.849 20.019Z", fill: color }))); }; AlarmOn.displayName = 'AlarmOn';