Created
October 14, 2020 20:54
-
-
Save ljmotta/176ccf870384e599c2fceecef132a717 to your computer and use it in GitHub Desktop.
DmnPage Render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { EmbeddedEditor, useEditorRef } from "@kogito-tooling/editor/dist/embedded"; | |
export function DmnPage() { | |
// | |
const { editor, ref } = useEditorRef(); | |
return ( | |
<Page> | |
<div className={"webapp--page-main-div"}> | |
<Sidebar ... /> | |
<EmbeddedEditor | |
ref={ref} | |
file={file} | |
editorEnvelopeLocator={editorEnvelopeLocator} | |
channelType={ChannelType.EMBEDDED} | |
locale={"en"} | |
/> | |
</div> | |
</Page> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment