const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _ant_design_icons = require("@ant-design/icons");
//#region src/components/pisellMetricCard/components/TrendIcon.tsx
/**
* TrendIcon 趋势箭头组件
* 
* 根据趋势类型显示上升或下降箭头
* - up: 显示上升箭头 ↑
* - down: 显示下降箭头 ↓
* - neutral: 不显示箭头
* 
* @param props 组件属性
*/
const TrendIcon = ({ trend, color }) => {
	if (trend === "neutral") return null;
	const Icon = trend === "up" ? _ant_design_icons.ArrowUpOutlined : _ant_design_icons.ArrowDownOutlined;
	return /* @__PURE__ */ react.default.createElement(Icon, {
		className: "pisell-metric-card-trend-icon",
		style: { color }
	});
};
//#endregion
exports.default = TrendIcon;
