import React from 'react';
import '../index.css';
export default function SparkItalicLine(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-italic-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-italic-line',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-italic-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="M604.8096 171.2384h112.96c17.6672 0 32 14.3264 32 32s-14.3328 32-32 32h-95.92l-153.4912 553.2992h112.2304c17.6704 0 32 14.3296 32 32 0 17.6736-14.3296 32-32 32h-274.336c-17.6768 0-32-14.3264-32-32 0-17.6704 14.3232-32 32-32h95.6896l153.4912-553.2992H443.424c-17.6736 0-32-14.3264-32-32s14.3264-32 32-32h147.2544a32.112 32.112 0 0 1 14.128 0z"></path>' },
      }))
    ],
  }))
}