Typescript
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import Konva from "konva";
|
||||
import { Color } from "../helpers/colors";
|
||||
|
||||
export type Note = {
|
||||
@@ -13,3 +14,14 @@ export type Note = {
|
||||
x: number;
|
||||
y: number;
|
||||
};
|
||||
|
||||
export type NoteMenuOptions = {
|
||||
noteId: string;
|
||||
noteNode: Konva.Node;
|
||||
};
|
||||
|
||||
export type NoteDraggingOptions = {
|
||||
dragging: boolean;
|
||||
noteId: string;
|
||||
noteGroup: Konva.Node;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user