import React from 'react';
import '../index.css';
export default function SparkFalseLine(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-false-line';
  const className = [
    icon,
    spin ? 'spark-icon-spin' : '',
    props.className || ''
  ].filter(Boolean).join(' ');
  
  return React.createElement('span', Object.assign({}, restProps, {
    className: className,
    style: {
      ...props.style,
      fontSize: size || props.style?.fontSize || undefined,
      cursor: props.onClick ? 'pointer' : props.style?.cursor
    },
    role: 'img',
    'aria-label': 'spark-false-line',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-false-line',
        'data-spark-icon': true, // 标识为 spark-icon 组件
        width: '1em',
        height: '1em',
        viewBox: '0 0 1024 1024',
        overflow: 'hidden',
        fill: 'currentColor',
        'aria-hidden': 'true',
        dangerouslySetInnerHTML: { __html: '<path d="M722.944 768.2048L255.8272 301.0304A32 32 0 0 1 301.0816 255.776l467.1168 467.1744a32 32 0 1 1-45.2544 45.2544z"></path><path d="M255.7984 768.2048c-12.496-12.4992-12.4992-32.7584 0-45.2544L722.944 255.8048c12.496-12.4992 32.7584-12.4992 45.2544 0 12.496 12.496 12.496 32.7552 0 45.2544L301.0528 768.2048c-12.496 12.496-32.7584 12.496-45.2544 0z"></path>' },
      }))
    ],
  }))
}