aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-29 22:51:21 -0400
committerbobzel <zzzman@gmail.com>2021-09-29 22:51:21 -0400
commit1d2f03125cbfd1c7a03f0000454de4d70e73d690 (patch)
tree22ff01b179e1430b7a59b6a5356eb54966486bb1 /src/client/views/nodes/DocumentView.tsx
parentb9adc2fec10d4509cd96558bb832f7c02bc70b25 (diff)
made IsClosed a static function. fixed warnings and errors.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 1187521b3..1ccf38de2 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -92,7 +92,7 @@ export interface DocComponentView {
playFrom?: (time: number, endTime?: number) => void;
Pause?: () => void;
setFocus?: () => void;
- componentUI?: (boundsLeft: number, boundsTop: number) => JSX.Element;
+ componentUI?: (boundsLeft: number, boundsTop: number) => JSX.Element | null;
fieldKey?: string;
annotationKey?: string;
getTitle?: () => string;