Skip to content

Instantly share code, notes, and snippets.

@ljmotta
Created October 14, 2020 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ljmotta/701f9b8fa5e6cc6e1fd4bfa3ee1f654f to your computer and use it in GitHub Desktop.
Save ljmotta/701f9b8fa5e6cc6e1fd4bfa3ee1f654f to your computer and use it in GitHub Desktop.
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