UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

41 lines (40 loc) 1.05 kB
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