| | |
| | | // DON NOT EDIT IT MANUALLY |
| | | |
| | | import * as React from 'react' |
| | | import cn from '@/utils/classnames' |
| | | import s from './Tongyi.module.css' |
| | | import cn from '@/utils/classnames' |
| | | |
| | | const Icon = ( |
| | | { |
| | | ref, |
| | | className, |
| | | ...restProps |
| | | }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & { |
| | | ref?: React.RefObject<HTMLSpanElement>; |
| | | }, |
| | | ) => <span className={cn(s.wrapper, className)} {...restProps} ref={ref} /> |
| | | const Icon = React.forwardRef<HTMLSpanElement, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>(( |
| | | { className, ...restProps }, |
| | | ref, |
| | | ) => <span className={cn(s.wrapper, className)} {...restProps} ref={ref} />) |
| | | |
| | | Icon.displayName = 'Tongyi' |
| | | |