onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 906 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const FoodBank = ({ 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 4.778L18.667 9.778V19.778H5.333V9.778L12.000 4.778ZM12.000 2.000L3.111 8.667V22.000H20.889V8.667L12.000 2.000ZM11.444 9.222V12.556H10.889V9.222H9.778V12.556H9.222V9.222H8.111V12.556C8.111 13.478 8.856 14.222 9.778 14.222V18.667H10.889V14.222C11.811 14.222 12.556 13.478 12.556 12.556V9.222H11.444ZM13.111 11.444V14.778H14.222V18.667H15.333V9.222C14.111 9.222 13.111 10.222 13.111 11.444Z", fill: color })));
};
FoodBank.displayName = 'FoodBank';