import React from 'react';
import { Svg, Path } from 'react-native-svg';

const CameraIcon = ({ color = "#373737", size = 24 }) => (
  <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
    <Path
      d="M15.691 2C16.161 2 16.601 2.22 16.938 2.668L17.033 2.829L18.118 5H22.5C23.183 5 23.77 5.459 23.956 6.174L23.988 6.321L24 6.5V20.5C24 21.228 23.478 21.847 22.68 21.988L22.5 22H1.5C0.772 22 0.153 21.478 0.012 20.68L0 20.5V6.5C0 5.772 0.522 5.153 1.32 5.012L1.5 5H5.88L6.967 2.83C7.154 2.456 7.487 2.18 7.945 2.054L8.123 2.014L8.309 2H15.691ZM8.62 3.995L7.393 6.447C7.31009 6.61293 7.18265 6.75253 7.02495 6.85018C6.86725 6.94784 6.68549 6.99971 6.5 7L2 6.996L1.996 20L22 20.003L22.003 7H17.5C17.3354 7.00002 17.1734 6.95942 17.0282 6.88179C16.8831 6.80417 16.7593 6.69192 16.668 6.555L16.606 6.447L15.386 4L8.62 3.995ZM12 7C12.7879 7 13.5681 7.15519 14.2961 7.45672C15.0241 7.75825 15.6855 8.20021 16.2426 8.75736C16.7998 9.31451 17.2417 9.97594 17.5433 10.7039C17.8448 11.4319 18 12.2121 18 13C18 13.7879 17.8448 14.5681 17.5433 15.2961C17.2417 16.0241 16.7998 16.6855 16.2426 17.2426C15.6855 17.7998 15.0241 18.2417 14.2961 18.5433C13.5681 18.8448 12.7879 19 12 19C10.4087 19 8.88258 18.3679 7.75736 17.2426C6.63214 16.1174 6 14.5913 6 13C6 11.4087 6.63214 9.88258 7.75736 8.75736C8.88258 7.63214 10.4087 7 12 7ZM12 9C11.4747 8.99996 10.9545 9.10339 10.4692 9.30439C9.98384 9.50539 9.54284 9.80003 9.17138 10.1715C8.79991 10.5429 8.50524 10.9839 8.3042 11.4692C8.10317 11.9545 7.99969 12.4747 7.99969 13C7.99969 13.5253 8.10317 14.0455 8.3042 14.5308C8.50524 15.0161 8.79991 15.4571 9.17138 15.8285C9.54284 16.2 9.98384 16.4946 10.4692 16.6956C10.9545 16.8966 11.4747 17 12 17C13.0608 16.9999 14.0782 16.5785 14.8282 15.8283C15.5783 15.0782 15.9997 14.0608 15.9997 13C15.9997 11.9392 15.5783 10.9218 14.8282 10.1717C14.0782 9.42154 13.0608 9.00008 12 9ZM19.5 8C19.8978 8 20.2794 8.15803 20.5607 8.43934C20.842 8.72064 21 9.10217 21 9.5C21 9.89782 20.842 10.2794 20.5607 10.5607C20.2794 10.842 19.8978 11 19.5 11C19.1022 11 18.7206 10.842 18.4393 10.5607C18.158 10.2794 18 9.89782 18 9.5C18 9.10217 18.158 8.72064 18.4393 8.43934C18.7206 8.15803 19.1022 8 19.5 8Z"
      fill={color}
    />
  </Svg>
);

export default CameraIcon;