onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 833 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const WaterDamage = ({ 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: "M12.000 2.000L2.000 11.000H5.000V19.000H19.000V11.000H22.000L11.000 3.000ZM6.000 18.000V9.190L12.000 4.690L17.000 9.190V18.000H6.000ZM14.000 13.000C14.000 14.100 13.100 15.000 12.000 15.000C10.900 15.000 10.000 14.100 10.000 13.000C10.000 11.900 12.000 9.000 12.000 9.000C12.000 9.000 14.000 11.900 14.000 13.000Z", fill: color })));
};
WaterDamage.displayName = 'WaterDamage';