onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.19 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const HeadsetOff = ({ size = 'md', color = 'currentColor', 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", style: style },
React.createElement(Path, { d: "M7.663 4.105C11.737 4.105 15.031 7.400 15.031 11.474V7.663H15.684V7.842L17.611 9.768H19.895V12.052L22.000 14.158V11.474C17.137 6.242 12.895 2.000 7.663 2.000C5.537 2.000 3.579 2.705 2.000 3.895L3.505 5.400C4.684 4.579 6.116 4.105 7.663 4.105Z", fill: color }),
React.createElement(Path, { d: "M3.264 2.000L2.000 3.264L4.985 6.249C4.403 7.370 4.071 8.634 4.071 9.978V17.518C2.807 18.504 3.614 19.311 4.600 19.311H8.186V12.139H4.600V11.242C4.600 10.400 4.770 9.602 5.066 8.867L13.564 17.365V18.047H16.774L16.406 20.207H10.875V22.000H17.150C18.719 20.736 18.997 20.655 19.248 20.521L19.741 21.014L21.005 19.750L3.264 2.000ZM7.657 12.668V17.518H4.600V13.932H6.393Z", fill: color })));
};
HeadsetOff.displayName = 'HeadsetOff';