const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
const require_status = require("../../status.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _ant_design_icons = require("@ant-design/icons");
require("./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.default.createElement("div", { className: `${require_status.PREFIX}__card-warning-lists ${className}` }, lists === null || lists === void 0 ? void 0 : lists.map((item) => /* @__PURE__ */ react.default.createElement("div", {
		key: item.id,
		className: `${require_status.PREFIX}__card-warning-lists-item`
	}, /* @__PURE__ */ react.default.createElement(_ant_design_icons.ExclamationCircleOutlined, { className: `${require_status.PREFIX}__card-warning-lists-item-icon` }), /* @__PURE__ */ react.default.createElement("span", null, item.value))));
};
//#endregion
exports.default = WarningLists;
