import React from 'react';
import '../index.css';
export default function SparkInsertLine1(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-insert-line1';
  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-insert-line1',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-insert-line1',
        '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="M580.8 227.2a32 32 0 0 1 22.6272 9.3728l224.048 224.048c13.744 13.744 20.6176 30.336 20.6176 49.7792 0 19.44-6.8736 36.032-20.6176 49.7792l-224.048 224.048a32.0032 32.0032 0 0 1-45.2544-45.2544l196.5728-196.5728H230.4c-19.44 0-36.032-6.8736-49.7792-20.6208C166.8736 508.0352 160 491.4432 160 472v-137.6c0-17.6736 14.3264-32 32-32s32 14.3264 32 32v137.6c0 4.2656 2.1344 6.4 6.4 6.4h524.3456l-196.5728-196.5728A32.0064 32.0064 0 0 1 580.8 227.2z"></path>' },
      }))
    ],
  }))
}