// 关闭icon
import React from 'react';
import { Svg, Path } from 'react-native-svg';

const CloseIcon = ({ 
  size = 16,
  color = "#231815",
  strokeColor = "transparent",
  strokeWidth = 0
}) => (
  <Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
    <Path
      d="M9.59062 8.00005L15.5408 2.0481C15.9803 1.60864 15.9803 0.896729 15.5408 0.457275C15.1014 0.0178223 14.3895 0.0178223 13.95 0.457275L7.9998 6.40923L2.04785 0.459033C1.6084 0.0195801 0.896484 0.0195801 0.457031 0.459033C0.0175781 0.898486 0.0175781 1.6104 0.457031 2.04985L6.40898 8.00005L0.458789 13.952C0.0193359 14.3915 0.0193359 15.1034 0.458789 15.5428C0.678516 15.7625 0.966797 15.8715 1.25332 15.8715C1.53984 15.8715 1.82812 15.7625 2.04785 15.5428L7.9998 9.59087L13.9518 15.5411C14.3912 15.9805 15.1031 15.9805 15.5426 15.5411C15.7623 15.3213 15.8713 15.0331 15.8713 14.7465C15.8713 14.46 15.7623 14.1717 15.5426 13.952L9.59062 8.00005Z"
      fill={color}
      stroke={strokeColor}
      strokeWidth={strokeWidth}
    />
  </Svg>
);

export default CloseIcon;