support export canvas to clipboard (#232)

This commit is contained in:
David Luzar 2020-01-09 17:37:08 +01:00 committed by GitHub
parent 1541428ab1
commit deee57314d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 89 additions and 11 deletions

View file

@ -15,3 +15,5 @@ export type SceneScroll = {
export interface Scene {
elements: ExcalidrawTextElement[];
}
export type ExportType = "png" | "clipboard";