UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.06 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const MedicalServices = ({ 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: "M20.000 6.000H16.000V4.000C16.000 2.900 15.100 2.000 14.000 2.000H10.000C8.900 2.000 8.000 2.900 8.000 4.000V6.000H4.000C2.900 6.000 2.000 6.900 2.000 8.000V20.000C2.000 21.100 2.900 22.000 4.000 22.000H20.000C21.100 22.000 22.000 21.100 22.000 20.000V8.000C22.000 6.900 21.100 6.000 20.000 6.000ZM10.000 4.000H14.000V6.000H10.000V4.000ZM20.000 20.000H4.000V8.000H20.000V20.000Z", fill: color }), React.createElement(Path, { d: "M14.500 2.000H9.500V9.500H2.000V14.500H9.500V22.000H14.500V14.500H22.000V9.500H14.500V2.000Z", fill: color }))); }; MedicalServices.displayName = 'MedicalServices';