onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 868 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const IosShare = ({ 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: "M15.636 2.909L14.345 4.200L12.900 2.755V15.636H8.373V5.482L6.927 6.927L5.636 5.636L9.273 2.000L12.909 5.636ZM16.545 10.182V17.455C19.273 18.455 18.455 19.273 17.455 19.273H6.545C2.809 22.000 2.000 21.182 2.000 20.182V7.455C4.727 6.445 5.536 5.636 6.545 5.636H9.273V7.455H6.545V17.455H17.455V7.455H14.727V5.636H17.455C15.727 8.364 16.545 9.173 16.545 10.182Z", fill: color })));
};
IosShare.displayName = 'IosShare';