onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 977 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const ThumbUpAlt = ({ 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: "M20.182 5.036H14.445L11.982 4.209L12.009 3.918C12.009 3.545 11.855 3.200 11.609 2.955L10.645 2.000L4.664 7.991C4.327 8.318 4.127 8.773 4.127 9.273V15.036C7.455 16.036 8.273 16.855 9.273 16.855H17.455C14.882 20.182 15.527 19.727 15.800 19.073L18.545 12.664C18.627 12.455 18.673 12.236 18.673 12.000V6.855C22.000 5.855 21.182 5.036 20.182 5.036ZM20.182 8.673L17.455 15.036H9.273V5.945L13.218 2.000L12.209 6.855H20.182V8.673ZM2.000 5.945H5.636V16.855H2.000V5.945Z", fill: color })));
};
ThumbUpAlt.displayName = 'ThumbUpAlt';