UNPKG

onecart-ui

Version:

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

12 lines (11 loc) 1.14 kB
import React from 'react'; export const AddToDrive = ({ 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: "M9.464 2.000L2.000 15.325L5.641 22.000L13.323 8.687L9.464 2.000Z", fill: color }), React.createElement("path", { d: "M14.500 12.000C14.713 12.000 14.912 12.012 15.113 12.025L9.500 2.000H2.000L16.600 6.800C17.963 5.388 19.875 4.500 22.000 4.500Z", fill: color }), React.createElement("path", { d: "M6.996 15.278H2.000L2.000 18.805H13.824C7.572 22.000 6.693 19.880 6.693 17.549C6.693 16.762 6.799 16.005 6.996 15.278Z", fill: color }), React.createElement("path", { d: "M16.000 4.000V2.000H8.000V8.000H2.000V12.000H8.000V18.000H10.000H16.000V8.000H22.000V4.000H16.000Z", fill: color }))); }; AddToDrive.displayName = 'AddToDrive';