Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Base64PngPage
import { EditorEnvelopeLocator } from "@kogito-tooling/editor/dist/embedded";
export function Base64PngPage() {
// ...
return (
<Page>
<div className={"webapp--page-main-div"}>
<Base64PngGallery setFile={setFile} />
<EmbeddedEditor
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