UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.55 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const PhoneMissed = ({ 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: "M5.151 21.094C4.746 20.710 4.198 20.473 3.595 20.473C2.991 20.473 2.444 20.710 2.039 21.094C2.015 21.118 2.000 21.151 2.000 21.188C2.000 21.225 2.015 21.258 2.039 21.282L2.368 21.612C2.392 21.636 2.425 21.650 2.462 21.650C2.498 21.650 2.532 21.636 2.556 21.613C2.661 21.515 2.780 21.433 2.909 21.367C2.953 21.346 2.983 21.301 2.983 21.248V21.500C2.512 21.437 2.718 21.403 2.930 21.403C3.143 21.403 3.349 21.437 3.542 21.499V21.246C4.206 21.298 4.237 21.345 4.281 21.366C4.411 21.431 4.529 21.515 4.635 21.612C4.659 21.636 4.693 21.649 4.728 21.649C4.766 21.649 4.799 21.635 4.823 21.611L5.152 21.281C5.176 21.257 5.191 21.224 5.191 21.187C5.191 21.149 5.175 21.118 5.151 21.094ZM2.718 21.168C2.630 21.217 2.546 21.274 2.469 21.337L2.327 21.195C2.448 21.095 2.579 21.010 2.719 20.942V21.833H2.053ZM4.722 21.336C4.642 21.272 4.560 21.216 4.472 21.167V21.605C3.947 21.673 4.077 21.758 4.199 21.858L4.057 22.000ZM2.266 20.397L2.922 21.054L3.862 20.114L3.675 19.925L2.922 20.678L2.452 20.207H2.797V19.941H2.000V20.739H2.266V20.397Z", fill: color }))); }; PhoneMissed.displayName = 'PhoneMissed';