import React from 'react';
import '../index.css';
export default function SparkDoubleRightLine(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-doubleRight-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-doubleRight-line',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-doubleRight-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="M709.9456 512L476.576 278.6272a32 32 0 1 1 45.2544-45.2544l256 256c12.496 12.496 12.496 32.7584 0 45.2544l-256 256a32.0064 32.0064 0 0 1-45.2544 0 32 32 0 0 1 0-45.2544L709.952 512z m-230.4 0L246.176 278.6272A32.0064 32.0064 0 0 1 268.8 224a32 32 0 0 1 22.6272 9.3728l256 256c12.496 12.496 12.496 32.7584 0 45.2544l-256 256a32.0032 32.0032 0 0 1-45.2544-45.2544L479.5488 512z"></path>' },
      }))
    ],
  }))
}