onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.38 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const CancelScheduleSend = ({ 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.478 7.217C15.113 7.217 14.757 7.252 14.400 7.313L2.009 2.000L2.000 8.087L10.748 9.252C10.383 9.635 10.070 10.061 9.800 10.522L2.000 11.565L2.009 17.652L9.026 14.643C9.470 17.817 12.183 20.261 15.478 20.261C19.078 20.261 22.000 17.339 22.000 13.739C22.000 10.139 19.078 7.217 15.478 7.217ZM3.739 6.565L3.748 4.635L10.278 7.435L3.739 6.565ZM9.043 12.748L3.739 15.017V14.826L7.365 14.113C7.339 14.235 7.322 14.357 7.304 14.487ZM13.739 20.261C11.104 20.261 8.957 18.113 8.957 15.478C8.957 12.843 11.104 10.696 13.739 10.696C16.374 10.696 18.522 12.843 18.522 15.478C18.522 18.113 16.374 20.261 13.739 20.261Z", fill: color }),
React.createElement(Path, { d: "M19.166 2.000L12.000 9.126L4.834 2.000L2.000 4.834L9.126 12.000L2.000 19.166L4.834 22.000L12.000 14.874L19.166 22.000L22.000 19.166L14.874 12.000L22.000 4.834L19.166 2.000Z", fill: color })));
};
CancelScheduleSend.displayName = 'CancelScheduleSend';