synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
41 lines (40 loc) • 1.05 kB
JavaScript
import { jsxs as o, jsx as t } from "react/jsx-runtime";
import { Box as n, Typography as e } from "@mui/material";
import { ObjectType as s } from "@sage-bionetworks/synapse-types";
import { WikiMarkdownEditorButton as c } from "../WikiMarkdownEditorButton/WikiMarkdownEditorButton.js";
function a(r) {
const { accessRequirement: i } = r;
return /* @__PURE__ */ o(
n,
{
sx: {
mb: 2
},
children: [
/* @__PURE__ */ t(
e,
{
variant: "body1",
sx: {
fontWeight: 700
},
children: "Instructions (wiki)"
}
),
/* @__PURE__ */ t(
c,
{
ownerObjectType: s.ACCESS_REQUIREMENT,
ownerObjectId: i.id.toString(),
displayWikiMarkdown: !0,
buttonProps: { children: "Edit Instructions" }
}
)
]
}
);
}
export {
a as AccessRequirementWikiInstructions
};
//# sourceMappingURL=AccessRequirementWikiInstructions.js.map