onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
14 lines (13 loc) • 2.13 kB
JavaScript
import React from 'react';
export const Fax = ({ 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: "M19.000 9.000H18.000V4.000H8.000V9.000H7.220C6.670 8.390 5.890 8.000 5.000 8.000C3.340 8.000 2.000 9.340 2.000 11.000V18.000C2.000 19.660 3.340 21.000 5.000 21.000C5.890 21.000 6.670 20.610 7.220 20.000H22.000V12.000C22.000 10.340 20.660 9.000 19.000 9.000ZM6.000 18.000C6.000 18.550 5.550 19.000 5.000 19.000C4.450 19.000 4.000 18.550 4.000 18.000V11.000C4.000 10.450 4.450 10.000 5.000 10.000C5.550 10.000 6.000 10.450 6.000 11.000V18.000ZM10.000 6.000H16.000V9.000H10.000V6.000ZM20.000 18.000H8.000V11.000H19.000C19.550 11.000 20.000 11.450 20.000 12.000V18.000Z", fill: color }),
React.createElement("path", { d: "M12.000 22.000C17.522 22.000 22.000 17.522 22.000 12.000C22.000 6.478 17.522 2.000 12.000 2.000C6.478 2.000 2.000 6.478 2.000 12.000C2.000 17.522 6.478 22.000 12.000 22.000Z", fill: color }),
React.createElement("path", { d: "M12.000 22.000C17.522 22.000 22.000 17.522 22.000 12.000C22.000 6.478 17.522 2.000 12.000 2.000C6.478 2.000 2.000 6.478 2.000 12.000C2.000 17.522 6.478 22.000 12.000 22.000Z", fill: color }),
React.createElement("path", { d: "M18.000 2.000H2.000V22.000H18.000V2.000Z", fill: color }),
React.createElement("path", { d: "M12.000 22.000C17.522 22.000 22.000 17.522 22.000 12.000C22.000 6.478 17.522 2.000 12.000 2.000C6.478 2.000 2.000 6.478 2.000 12.000C2.000 17.522 6.478 22.000 12.000 22.000Z", fill: color }),
React.createElement("path", { d: "M12.000 22.000C17.522 22.000 22.000 17.522 22.000 12.000C22.000 6.478 17.522 2.000 12.000 2.000C6.478 2.000 2.000 6.478 2.000 12.000C2.000 17.522 6.478 22.000 12.000 22.000Z", fill: color })));
};
Fax.displayName = 'Fax';