const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
const require_index = require("../Card/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
require("./index.less");
//#region src/components/pay/toB/components/CardGroup/index.tsx
const ToBPayCardGroup = (props) => {
	var _data$list;
	const { data, onChange } = props;
	return /* @__PURE__ */ react.default.createElement("div", { className: "tob-pay-card-group" }, /* @__PURE__ */ react.default.createElement("div", { className: "tob-pay-card-group-title" }, data.title), /* @__PURE__ */ react.default.createElement("div", { className: "tob-pay-card-group-list" }, data === null || data === void 0 || (_data$list = data.list) === null || _data$list === void 0 ? void 0 : _data$list.map((item) => /* @__PURE__ */ react.default.createElement(require_index.default, {
		key: item.id,
		data: item,
		onChange
	}))));
};
//#endregion
exports.default = ToBPayCardGroup;
