diff --git a/src/lib/viewers/controls/fullscreen/FullscreenToggle.tsx b/src/lib/viewers/controls/fullscreen/FullscreenToggle.tsx index 3183dac16..f4a040898 100644 --- a/src/lib/viewers/controls/fullscreen/FullscreenToggle.tsx +++ b/src/lib/viewers/controls/fullscreen/FullscreenToggle.tsx @@ -5,7 +5,7 @@ import useFullscreen from '../hooks/useFullscreen'; import './FullscreenToggle.scss'; export type Props = { - onFullscreenToggle: (isFullscreen: boolean, toggleFullscreen: EventTarget | null) => void; + onFullscreenToggle: (isFullscreen: boolean, toggleFullscreenEl: EventTarget | null) => void; onKeyDown?: (event: React.KeyboardEvent) => void; };