import e from "../../../components/loopstack-elements/link.js";
import "react";
import { jsx as t } from "react/jsx-runtime";
//#region src/features/documents/renderers/LinkMessageRenderer.tsx
var n = ({ document: n }) => {
	let { status: r, label: i, workflowId: a, embed: o, expanded: s } = n.content;
	return /* @__PURE__ */ t(e, {
		href: a ? `/workflows/${a}` : void 0,
		label: i,
		status: r,
		embed: o,
		defaultExpanded: s
	});
};
//#endregion
export { n as default };
