onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 906 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Bookmarks = ({ 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: "M14.727 7.455V19.245L10.900 17.600L10.182 17.291L9.464 17.600L5.636 19.245V7.455H14.727ZM18.364 2.000H9.264C8.264 2.000 7.455 2.818 7.455 3.818H16.545C17.545 3.818 18.364 4.636 18.364 5.636V17.455L20.182 18.364V3.818C20.182 2.818 19.364 2.000 18.364 2.000ZM14.727 5.636H5.636C4.636 5.636 3.818 6.455 3.818 7.455V22.000L10.182 19.273L16.545 22.000V7.455C16.545 6.455 15.727 5.636 14.727 5.636Z", fill: color })));
};
Bookmarks.displayName = 'Bookmarks';