Created
October 14, 2020 20:40
-
-
Save ljmotta/5a1840ac6b493db2e4b416ae603b1cb3 to your computer and use it in GitHub Desktop.
Base64PngPage
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 { File } from "@kogito-tooling/editor/dist/embedded"; | |
export function Base64PngPage() { | |
const [file, setFile] = useState<File>({ | |
fileName: "new-file", | |
fileExtension: "base64png", | |
getFileContents: () => Promise.resolve(""), | |
isReadOnly: false, | |
}); | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment