import React from 'react';
import '../index.css';
export default function SparkUpFill(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-up-fill';
  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-up-fill',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-up-fill',
        '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="M896 512c0 212.0768-171.9232 384-384 384S128 724.0768 128 512 299.9232 128 512 128s384 171.9232 384 384z m-384-40.08l105.3664 105.3664A31.9968 31.9968 0 0 0 672 554.6656c0-8.4864-3.3728-16.624-9.3792-22.6336l-127.9936-127.9936c-12.496-12.496-32.7584-12.496-45.2544 0l-128.0192 128.0192-0.272 0.2752A32.0064 32.0064 0 0 0 384 586.6656a31.9904 31.9904 0 0 0 22.6272-9.3728L512 471.92z"></path>' },
      }))
    ],
  }))
}