UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.1 kB
import React from 'react'; export const Logout = ({ 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: "M17.556 7.556L15.989 9.122L17.744 10.889H8.667V13.111H17.744L15.989 14.867L17.556 16.444L22.000 12.000L17.556 7.556ZM4.222 4.222H12.000V2.000H4.222C3.000 2.000 2.000 3.000 2.000 4.222V19.778C2.000 21.000 3.000 22.000 4.222 22.000H12.000V19.778H4.222V4.222Z", fill: color }), React.createElement("path", { d: "M5.333 18.905L4.998 19.240L5.374 19.619H3.429V20.095H5.374L4.998 20.471L5.333 20.810L6.286 19.857L5.333 18.905ZM2.476 18.190H4.143V17.714H2.476C2.214 17.714 2.000 17.929 2.000 18.190V21.524C2.000 21.786 2.214 22.000 2.476 22.000H4.143V21.524H2.476V18.190Z", fill: color }))); }; Logout.displayName = 'Logout';