import { PREFIX } from "../../status.js";
import React from "react";
import { ExclamationCircleOutlined } from "@ant-design/icons";
import "./index.less";
//#region src/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.tsx
const WarningLists = (props) => {
	const { lists, className } = props;
	if (!(lists === null || lists === void 0 ? void 0 : lists.length)) return null;
	return /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__card-warning-lists ${className}` }, lists === null || lists === void 0 ? void 0 : lists.map((item) => /* @__PURE__ */ React.createElement("div", {
		key: item.id,
		className: `${PREFIX}__card-warning-lists-item`
	}, /* @__PURE__ */ React.createElement(ExclamationCircleOutlined, { className: `${PREFIX}__card-warning-lists-item-icon` }), /* @__PURE__ */ React.createElement("span", null, item.value))));
};
//#endregion
export { WarningLists as default };
