onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.84 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const BatchPrediction = ({ 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: "M17.000 8.000H7.000C5.900 8.000 5.000 8.900 5.000 10.000V20.000C5.000 21.100 5.900 22.000 7.000 22.000H17.000C18.100 22.000 19.000 21.100 19.000 20.000V10.000C19.000 8.900 18.100 8.000 17.000 8.000ZM13.000 20.500H11.000V19.000H13.000V20.500ZM13.000 18.000H11.000C11.000 16.500 8.500 15.000 8.500 13.000C8.500 11.070 10.070 9.500 12.000 9.500C13.930 9.500 15.500 11.070 15.500 13.000C15.500 15.000 13.000 16.500 13.000 18.000ZM18.000 6.500H6.000C6.000 5.670 6.670 5.000 7.500 5.000H16.500C17.330 5.000 18.000 5.670 18.000 6.500ZM17.000 3.500H7.000C7.000 2.670 7.670 2.000 8.500 2.000H15.500C16.330 2.000 17.000 2.670 17.000 3.500Z", fill: color }),
React.createElement(Path, { d: "M4.892 18.627H2.482C2.217 18.627 2.000 18.843 2.000 19.108V21.518C2.000 21.783 2.217 22.000 2.482 22.000H4.892C5.157 22.000 5.373 21.783 5.373 21.518V19.108C5.373 18.843 5.157 18.627 4.892 18.627ZM3.928 21.639H3.446V21.277H3.928V21.639ZM3.928 21.036H3.446C3.446 20.675 2.843 20.313 2.843 19.831C2.843 19.366 3.222 18.988 3.687 18.988C4.152 18.988 4.530 19.366 4.530 19.831C4.530 20.313 3.928 20.675 3.928 21.036ZM5.133 18.265H2.241C2.241 18.065 2.402 17.904 2.602 17.904H4.771C4.971 17.904 5.133 18.065 5.133 18.265ZM4.892 17.542H2.482C2.482 17.342 2.643 17.181 2.843 17.181H4.530C4.730 17.181 4.892 17.342 4.892 17.542Z", fill: color })));
};
BatchPrediction.displayName = 'BatchPrediction';