import FloatingDock from "../../../floatingDock/index.js";
import React from "react";
import { Button } from "@pisell/materials";
import "./index.less";
//#region src/components/bigSale/components/FloatButtons/index.tsx
/**
* BigSale phone 端浮动入口，承载 TimeBar 等低频操作。
*/
const BigSaleFloatButtons = ({ items, initialBottom = 176 }) => {
	if (!items.length) return null;
	return /* @__PURE__ */ React.createElement(FloatingDock, {
		className: "pisell-big-sale-float-buttons",
		initialBottom
	}, items.map((item) => /* @__PURE__ */ React.createElement(Button, {
		key: item.key,
		type: "primary",
		icon: item.icon,
		shape: "circle",
		size: "large",
		onClick: item.onClick
	})));
};
//#endregion
export { BigSaleFloatButtons as default };
