/*! 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/Story.tsx
function Story(props) {
	const [spacingProps, { as: Component = "div", className, children, testId, ...rest }] = extractSpacingProps(props);
	return /* @__PURE__ */ jsx(Component, {
		className: cn("story", buildSpacingClasses(spacingProps), className),
		"data-testid": testId,
		...rest,
		children
	});
}
//#endregion
export { Story };

//# sourceMappingURL=Story.js.map