UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 858 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const Bedtime = ({ 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: "M9.274 4.481C7.643 12.025 13.026 16.897 16.937 18.288C15.547 19.379 13.816 19.999 12.005 19.999C7.593 19.999 4.001 16.407 4.001 11.995C4.001 8.543 6.202 5.592 9.274 4.481ZM11.995 2.000C6.402 2.000 2.000 6.532 2.000 11.995C2.000 17.518 6.482 22.000 12.005 22.000C15.717 22.000 18.938 19.979 20.669 16.977C13.156 16.727 8.573 8.543 12.345 2.000H11.995Z", fill: color }))); }; Bedtime.displayName = 'Bedtime';