onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
14 lines (13 loc) • 2.02 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const BroadcastOnHome = ({ 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: "M22.000 4.222C22.000 3.000 21.000 2.000 19.778 2.000H2.000V4.222H19.778V7.100C20.589 7.422 21.333 7.867 22.000 8.400V4.222Z", fill: color }),
React.createElement(Path, { d: "M8.667 9.778H3.111C2.556 9.778 2.000 10.333 2.000 10.889V20.889C2.000 21.444 2.556 22.000 3.111 22.000H8.667C9.222 22.000 9.778 21.444 9.778 20.889V10.889C9.778 10.333 9.222 9.778 8.667 9.778ZM7.556 19.778H4.222V12.000H7.556V19.778Z", fill: color }),
React.createElement(Path, { d: "M12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 14.754 3.123 17.262 4.923 19.077L6.554 17.446C5.169 16.046 4.308 14.123 4.308 12.000C4.308 7.754 7.754 4.308 12.000 4.308C16.246 4.308 19.692 7.754 19.692 12.000C19.692 14.108 18.831 16.031 17.446 17.415L19.092 19.046C20.892 17.231 22.000 14.738 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000Z", fill: color }),
React.createElement(Path, { d: "M12.000 5.750C15.450 5.750 18.250 8.550 18.250 12.000C18.250 13.725 17.550 15.275 16.425 16.400L19.075 19.050C20.875 17.250 22.000 14.750 22.000 12.000C22.000 6.475 17.525 2.000 12.000 2.000C6.475 2.000 2.000 6.475 2.000 12.000C2.000 14.750 3.125 17.250 4.925 19.075L7.575 16.425C6.450 15.300 5.750 13.725 5.750 12.000C5.750 8.550 8.550 5.750 12.000 5.750Z", fill: color }),
React.createElement(Path, { d: "M8.400 9.104C9.360 8.368 10.000 7.280 10.000 6.000C10.000 3.792 8.208 2.000 6.000 2.000C3.792 2.000 2.000 3.792 2.000 6.000C2.000 7.280 2.640 8.400 3.600 9.104V22.000H11.600V5.904Z", fill: color })));
};
BroadcastOnHome.displayName = 'BroadcastOnHome';