UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

9 lines (8 loc) 905 B
import React from 'react'; export const LocalDining = ({ size = 'md', color = 'currentColor', className, 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", xmlns: "http://www.w3.org/2000/svg", className: className, style: style }, React.createElement("path", { d: "M7.727 12.727L10.546 9.908L3.554 2.926C2.000 4.480 2.000 7.000 3.554 8.564L7.727 12.727ZM14.480 10.924C16.004 11.631 18.145 11.133 19.729 9.550C21.631 7.647 22.000 4.918 20.536 3.454C19.082 2.000 16.353 2.359 14.440 4.261C12.857 5.845 12.359 7.986 13.066 9.510L3.345 19.231L4.749 20.635L11.612 13.793L18.464 20.645L19.869 19.241L13.016 12.388L14.480 10.924Z", fill: color }))); }; LocalDining.displayName = 'LocalDining';