UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.02 kB
import React from 'react'; export const KeyboardBackspace = ({ 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: "M18.667 10.889H2.922L10.233 3.567L8.667 2.000L2.000 8.667L8.667 15.333L10.233 13.767L6.256 9.778H22.000V7.556Z", fill: color }), React.createElement("path", { d: "M5.672 21.178H2.000L3.920 19.255L3.555 18.890L2.000 20.445L3.555 22.000L3.920 21.635L2.993 20.704H6.665V20.186Z", fill: color }), React.createElement("path", { d: "M4.427 21.457H2.000L3.269 20.186L3.028 19.945L2.000 20.972L3.028 22.000L3.269 21.758L2.656 21.144H5.083V20.801Z", fill: color }))); }; KeyboardBackspace.displayName = 'KeyboardBackspace';