aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-11-03 16:59:13 -0500
committeryipstanley <stanley_yip@brown.edu>2019-11-03 16:59:13 -0500
commitca406ddce0a9b35ca9063f74979c952e080339f1 (patch)
tree07bbc45be5891ebfbdd1131a35f28023b9ea77c0 /src/client/views/InkingStroke.tsx
parent525e18727edbdaba578e1ace748ddfd9573a65a4 (diff)
some infrastructure stuff and bug fixes. not really any new features yet
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
-rw-r--r--src/client/views/InkingStroke.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx
index 332c22512..a097a7991 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -5,6 +5,7 @@ import React = require("react");
import { InkTool } from "../../new_fields/InkField";
import "./InkingStroke.scss";
import { AudioBox } from "./nodes/AudioBox";
+import { Doc } from "../../new_fields/Doc";
interface StrokeProps {
@@ -20,6 +21,11 @@ interface StrokeProps {
deleteCallback: (index: string) => void;
}
+export type InkDocAndStroke = {
+ Document: Doc;
+ Ink: Map<any, any>;
+};
+
@observer
export class InkingStroke extends React.Component<StrokeProps> {