Skip to content

Instantly share code, notes, and snippets.



Last active Oct 13, 2020
What would you like to do?
Base64Png Editor Ref Forwarding Component
import { EditorApi, KogitoEditorEnvelopeContextType } from "@kogito-tooling/editor/dist/api";
interface Props {
envelopeContext: KogitoEditorEnvelopeContextType;
export const Base64PngEditor = React.forwardRef<EditorApi, Props>((props, forwardedRef) => {
// All the editor code is here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment