UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

10 lines (9 loc) 637 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const FilterList = ({ 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: "M9.778 18.667H14.222V16.444H9.778V18.667ZM2.000 5.333V7.556H22.000V5.333H2.000ZM5.333 13.111H18.667V10.889H5.333V13.111Z", fill: color }))); }; FilterList.displayName = 'FilterList';