UNPKG

onecart-ui

Version:

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

9 lines (8 loc) 1.29 kB
import React from 'react'; export const ConfirmationNumber = ({ 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: "M22.000 10.000V6.000C22.000 4.890 21.100 4.000 20.000 4.000H4.000C2.900 4.000 2.010 4.890 2.010 6.000V10.000C3.110 10.000 4.000 10.900 4.000 12.000C4.000 13.100 3.110 14.000 2.000 14.000V18.000C2.000 19.100 2.900 20.000 4.000 20.000H20.000C21.100 20.000 22.000 19.100 22.000 18.000V14.000C20.900 14.000 20.000 13.100 20.000 12.000C20.000 10.900 20.900 10.000 22.000 10.000ZM20.000 8.540C18.810 9.230 18.000 10.530 18.000 12.000C18.000 13.470 18.810 14.770 20.000 15.460V18.000H4.000V15.460C5.190 14.770 6.000 13.470 6.000 12.000C6.000 10.520 5.200 9.230 4.010 8.540L4.000 6.000H20.000V8.540ZM11.000 15.000H13.000V17.000H11.000V15.000ZM11.000 11.000H13.000V13.000H11.000V11.000ZM11.000 7.000H13.000V9.000H11.000V7.000Z", fill: color }))); }; ConfirmationNumber.displayName = 'ConfirmationNumber';