import ToBPayCard from "../Card/index.js";
import React from "react";
import "./index.less";
//#region src/components/pay/toB/components/CardGroup/index.tsx
const ToBPayCardGroup = (props) => {
	var _data$list;
	const { data, onChange } = props;
	return /* @__PURE__ */ React.createElement("div", { className: "tob-pay-card-group" }, /* @__PURE__ */ React.createElement("div", { className: "tob-pay-card-group-title" }, data.title), /* @__PURE__ */ React.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.createElement(ToBPayCard, {
		key: item.id,
		data: item,
		onChange
	}))));
};
//#endregion
export { ToBPayCardGroup as default };
