You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Fix TS types
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user