onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 773 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const SaveAlt = ({ 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: "M19.778 12.000V19.778H4.222V12.000H2.000V19.778C2.000 21.000 3.000 22.000 4.222 22.000H19.778C21.000 22.000 22.000 21.000 22.000 19.778V12.000H19.778ZM13.111 12.744L15.989 9.878L17.556 11.444L12.000 17.000L6.444 11.444L8.011 9.878L10.889 12.744V2.000H13.111V12.744Z", fill: color })));
};
SaveAlt.displayName = 'SaveAlt';