mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 04:18:28 +08:00
d9990e3b2d
* docs: fix findDOMNode warnings * docs: fix findDOMNode warnings * fix ts type
16 lines
704 B
TypeScript
16 lines
704 B
TypeScript
import React from 'react';
|
|
import Icon from '@ant-design/icons';
|
|
|
|
const SVGIcon: React.FC = () => (
|
|
<svg viewBox="0 0 1024 1024" fill="currentColor">
|
|
<title>CodeSandbox Icon</title>
|
|
<path d="M755 140.3l0.5-0.3h0.3L512 0 268.3 140h-0.3l0.8 0.4L68.6 256v512L512 1024l443.4-256V256L755 140.3z m-30 506.4v171.2L548 920.1V534.7L883.4 341v215.7l-158.4 90z m-584.4-90.6V340.8L476 534.4v385.7L300 818.5V646.7l-159.4-90.6zM511.7 280l171.1-98.3 166.3 96-336.9 194.5-337-194.6 165.7-95.7L511.7 280z" />
|
|
</svg>
|
|
);
|
|
|
|
const CodeSandboxIcon = React.forwardRef<HTMLSpanElement, { className?: string }>((props, ref) => (
|
|
<Icon component={SVGIcon} ref={ref} {...props} />
|
|
));
|
|
|
|
export default CodeSandboxIcon;
|