import React from 'react';
import '../index.css';
export default function SparkSingleStarFill(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-singleStar-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-singleStar-fill',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-singleStar-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="M177.392 500.4832c-9.6256 4.6624-9.6256 18.3776 0 23.04l213.6768 103.472a12.8 12.8 0 0 1 5.9424 5.9424l103.472 213.6768c4.6624 9.6256 18.3776 9.6256 23.04 0l103.472-213.6768a12.8 12.8 0 0 1 5.9424-5.9424l213.6768-103.472c9.6256-4.6624 9.6256-18.3776 0-23.04l-213.6768-103.472a12.8 12.8 0 0 1-5.9424-5.9424l-103.472-213.6768c-4.6624-9.6256-18.3776-9.6256-23.04 0l-103.472 213.6768a12.8 12.8 0 0 1-5.9424 5.9424l-213.6768 103.472z"></path>' },
      }))
    ],
  }))
}