onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.32 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const LinkedCamera = ({ 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: "M20.000 9.000V20.000H4.000V8.000H8.050L9.880 6.000H15.000V4.000H9.000L7.170 6.000H4.000C2.900 6.000 2.000 6.900 2.000 8.000V20.000C2.000 21.100 2.900 22.000 4.000 22.000H20.000C21.100 22.000 22.000 21.100 22.000 20.000V9.000H20.000ZM20.670 7.990H22.000C21.990 4.680 19.310 2.000 16.000 2.000V3.330C18.580 3.330 20.660 5.410 20.670 7.990ZM18.000 7.990H19.330C19.320 6.150 17.840 4.670 16.000 4.670V6.000C17.110 6.000 17.990 6.890 18.000 7.990ZM7.000 14.000C7.000 16.760 9.240 19.000 12.000 19.000C14.760 19.000 17.000 16.760 17.000 14.000C17.000 11.240 14.760 9.000 12.000 9.000C9.240 9.000 7.000 11.240 7.000 14.000ZM15.000 14.000C15.000 15.650 13.650 17.000 12.000 17.000C10.350 17.000 9.000 15.650 9.000 14.000C9.000 12.350 10.350 11.000 12.000 11.000C13.650 11.000 15.000 12.340 15.000 14.000Z", fill: color })));
};
LinkedCamera.displayName = 'LinkedCamera';