mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 12:51:04 +02:00
Fix TS types
This commit is contained in:
parent
ae411b9401
commit
36efa448b2
@ -57,7 +57,7 @@ interface IProps {
|
|||||||
pipMode?: boolean;
|
pipMode?: boolean;
|
||||||
|
|
||||||
// Used for dragging the PiP CallView
|
// Used for dragging the PiP CallView
|
||||||
onMouseDownOnHeader?: (event: React.MouseEvent<Element, MouseEvent>) => void;
|
onMouseDownOnHeader?: (event: MouseEvent) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IState {
|
interface IState {
|
||||||
|
@ -35,7 +35,7 @@ const PADDING = {
|
|||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
className?: string;
|
className?: string;
|
||||||
children: (event: MouseEvent<Element, MouseEvent>) => React.ReactNode;
|
children: (startMovingEventHandler: (event: MouseEvent) => void) => React.ReactNode;
|
||||||
draggable: boolean;
|
draggable: boolean;
|
||||||
app?: IApp;
|
app?: IApp;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user