import React from 'react';
import '../index.css';
export default function SparkMarkdown1(props) {
  const { size, spin, ...restProps } = props;
  const icon = 'spark-icon spark-icon-spark-markdown1';
  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-markdown1',
    children: [
      React.createElement('svg', Object.assign({
        key: 'spark-markdown1',
        '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="M163.1744 833.5872V204.1856q0-12.288 7.6288-21.8624 6.8096-8.6528 17.408-11.8272 10.5472-3.2256 21.0432 0.1536 11.6224 3.7888 18.432 13.9776l287.1296 430.6944 278.016-429.9776q6.7072-10.3936 18.3808-14.336 10.496-3.4816 21.1456-0.3072 10.6496 3.1232 17.5616 11.776 7.68 9.6256 7.68 21.9648v629.1456a32 32 0 0 1-64 0V302.08l-248.8832 384.8704q-10.2912 15.9232-29.2864 16.0768-19.0464 0.1536-29.5424-15.6672L227.1744 299.264v534.3232a32 32 0 1 1-64 0z"></path>' },
      }))
    ],
  }))
}