onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 777 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const BookmarkAdded = ({ 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: "M16.163 10.467V17.144L11.479 14.979L6.421 17.144V4.398H12.116V2.374H6.047C5.308 2.000 4.398 2.910 4.398 4.023V20.584L11.105 17.549L18.186 20.584V10.093H16.537ZM17.003 8.444L14.140 5.581L15.566 4.155L16.992 5.581L20.574 2.000L22.000 3.426L17.003 8.444Z", fill: color })));
};
BookmarkAdded.displayName = 'BookmarkAdded';