Created
October 14, 2020 20:49
-
-
Save ljmotta/3a0797a555a7f5f708457d3247031d5e to your computer and use it in GitHub Desktop.
DmnPage File State
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 DmnPage() { | |
const [file, setFile] = useState<File>({ | |
fileName: "new-file", | |
fileExtension: "dmn", | |
getFileContents: () => Promise.resolve(""), | |
isReadOnly: false, | |
}); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment