mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* refactor(Steps): use genCssVar hook to generate CSS variables * fix: update * test: update snap * fix: update * fix: update * update snap * fix: update * fix: update * update * update * update
23 lines
471 B
TypeScript
23 lines
471 B
TypeScript
import * as React from 'react';
|
|
|
|
export interface PanelArrowProps {
|
|
prefixCls: string;
|
|
}
|
|
|
|
const PanelArrow: React.FC<PanelArrowProps> = (props) => {
|
|
const { prefixCls } = props;
|
|
return (
|
|
<svg
|
|
className={`${prefixCls}-panel-arrow`}
|
|
viewBox="0 0 100 100"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
preserveAspectRatio="none"
|
|
>
|
|
<title>Arrow</title>
|
|
<path d="M 0 0 L 100 50 L 0 100" />
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
export default PanelArrow;
|