import React from 'react';
import '../index.css';
export default function SparkUpdateFill(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-update-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-update-fill',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-update-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="M128 512C128 299.9232 299.9232 128 512 128s384 171.9232 384 384-171.9232 384-384 384S128 724.0768 128 512z m416-62.48l73.3664 73.3664A31.9968 31.9968 0 0 0 672 500.2656c0-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 532.2656a31.9904 31.9904 0 0 0 22.6272-9.3728L480 449.52V649.6c0 21.2064 14.3264 32 32 32 17.6704 0 32-10.7936 32-32v-200.08z"></path>' },
      }))
    ],
  }))
}