/*! ratio-ui · design system for knowledge sharing · https://github.com/losol/ratio-ui · (c) 2026 Losol AS · MPL-2.0 */
import { cn } from "../../utils/cn.js";
import { buildSpacingClasses, extractSpacingProps } from "../../tokens/spacing.js";
import "react";
import { jsx } from "react/jsx-runtime";
//#region src/blocks/Story/StoryFooter.tsx
function StoryFooter(props) {
	const [spacing, { className, children, testId, ...rest }] = extractSpacingProps(props);
	const { gap = "xs", ...otherSpacing } = spacing;
	return /* @__PURE__ */ jsx("footer", {
		className: cn("story-footer", buildSpacingClasses({
			...otherSpacing,
			gap
		}), className),
		"data-testid": testId,
		...rest,
		children
	});
}
//#endregion
export { StoryFooter };

//# sourceMappingURL=StoryFooter.js.map