onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.25 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const AllInclusive = ({ 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.500 2.000C16.300 2.000 15.167 2.467 14.358 3.275L8.500 8.475C7.967 9.008 7.258 9.300 6.500 9.300C4.942 9.300 3.675 8.042 3.675 6.483C3.675 4.925 4.942 3.667 6.500 3.667C7.258 3.667 7.967 3.958 8.533 4.525L9.475 5.358L10.733 4.242L9.683 3.317C8.833 2.467 7.700 2.000 6.500 2.000C4.017 2.000 2.000 4.017 2.000 6.483C2.000 8.950 4.017 10.967 6.500 10.967C7.700 10.967 8.833 10.500 9.642 9.692L15.500 4.492C16.033 3.958 16.742 3.667 17.500 3.667C19.058 3.667 20.325 4.925 20.325 6.483C20.325 8.042 19.058 9.300 17.500 9.300C16.750 9.300 16.033 9.008 15.467 8.442L14.517 7.600L13.258 8.717L14.317 9.650C15.167 10.492 16.292 10.958 17.500 10.958C19.983 10.958 22.000 8.950 22.000 6.475C22.000 4.000 19.983 2.000 17.500 2.000Z", fill: color })));
};
AllInclusive.displayName = 'AllInclusive';