import React from 'react';
import '../index.css';
export default function SparkSubscriptedLine(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-subscripted-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-subscripted-line',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-subscripted-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="M169.6 825.9552V220.8c0-49.4848 40.1152-89.6 89.6-89.6h505.6c49.4848 0 89.6 40.1152 89.6 89.6v604.8192c0 44.8032-44.8512 75.7408-86.7328 59.8272l-253.9008-96.4736-257.6384 96.8864C214.2784 901.5968 169.6 870.6656 169.6 825.9552zM665.6 329.6a32 32 0 0 0-22.6272 9.3728L460.8 521.1456l-79.7728-79.776A32 32 0 0 0 358.4 432c-17.6736 0-32 14.3264-32 32a32 32 0 0 0 9.3728 22.6272l102.4 102.4c12.496 12.496 32.7584 12.496 45.2544 0l204.8-204.8A32.0064 32.0064 0 0 0 665.6 329.6z"></path>' },
      }))
    ],
  }))
}