onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 723 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const FileDownloadDone = ({ 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: "M22.000 3.734L20.266 2.000L8.962 13.304L3.734 8.089L2.000 9.823L8.962 16.785L22.000 3.734Z", fill: color }),
React.createElement(Path, { d: "M22.000 2.000H2.000V4.857H22.000V2.000Z", fill: color })));
};
FileDownloadDone.displayName = 'FileDownloadDone';