onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 884 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const DeleteSweep = ({ 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: "M14.632 16.737H18.842V18.842H14.632V16.737ZM14.632 8.316H22.000V10.421H14.632V8.316ZM14.632 12.526H20.947V14.632H14.632V12.526ZM2.000 18.842C2.000 20.000 2.947 20.947 4.105 20.947H10.421C12.632 19.895 13.579 18.947 13.579 17.789V8.316H2.000V18.842ZM4.105 10.421H10.421V18.842H4.105V10.421ZM9.368 4.105H5.158L5.158 4.105H2.000V6.211H14.632V4.105H11.474L9.368 4.105Z", fill: color })));
};
DeleteSweep.displayName = 'DeleteSweep';