aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocComponent.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r--src/client/views/DocComponent.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx
index fa43b86bb..9ff27d9a0 100644
--- a/src/client/views/DocComponent.tsx
+++ b/src/client/views/DocComponent.tsx
@@ -50,10 +50,10 @@ interface ViewBoxBaseProps {
DataDoc?: Doc;
DocumentView?: () => DocumentView;
fieldKey: string;
- isSelected: (outsideReaction?: boolean) => boolean;
+ isSelected: () => boolean;
isContentActive: () => boolean | undefined;
renderDepth: number;
- rootSelected: (outsideReaction?: boolean) => boolean;
+ rootSelected: () => boolean;
}
export function ViewBoxBaseComponent<P extends ViewBoxBaseProps>() {
class Component extends React.Component<React.PropsWithChildren<P>> {
@@ -89,8 +89,8 @@ export interface ViewBoxAnnotatableProps {
isContentActive: () => boolean | undefined;
select: (isCtrlPressed: boolean) => void;
whenChildContentsActiveChanged: (isActive: boolean) => void;
- isSelected: (outsideReaction?: boolean) => boolean;
- rootSelected: (outsideReaction?: boolean) => boolean;
+ isSelected: () => boolean;
+ rootSelected: () => boolean;
renderDepth: number;
isAnnotationOverlay?: boolean;
}