UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 602 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const CallMade = ({ 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: "M8.667 2.000V6.000H16.120L2.000 20.120L3.880 22.000L19.333 6.547V16.667H20.667V3.333H7.333Z", fill: color }))); }; CallMade.displayName = 'CallMade';