onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 759 B
JavaScript
import React from 'react';
export const AssistantPhoto = ({ 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: "M10.659 4.353L10.753 4.812L11.129 6.706H17.294V13.765H13.341L14.424 12.129L14.047 10.235H5.529V3.176H11.835ZM12.588 2.000H2.000V22.000H4.353V13.765H10.941L12.588 14.941H20.824V3.176H14.235L12.588 2.000Z", fill: color })));
};
AssistantPhoto.displayName = 'AssistantPhoto';