onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 835 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const FilterAlt = ({ 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: "M5.690 4.780H17.990L12.148 12.209L6.010 4.460ZM2.627 3.980C5.112 7.166 9.700 13.070 9.700 13.070V20.770C9.380 21.446 9.934 22.000 10.610 22.000H13.070C14.066 21.680 14.620 21.127 14.620 20.450V13.390C14.300 13.390 18.876 7.486 21.360 4.300C21.988 3.488 21.410 2.320 20.389 2.320H3.279C2.578 2.000 2.000 3.169 2.627 3.980Z", fill: color })));
};
FilterAlt.displayName = 'FilterAlt';