Add dragCallbacks

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-05-02 16:23:35 +02:00
parent d203e8f129
commit bebcb32e8f
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -49,6 +49,13 @@ interface IProps {
// This is sort of a proxy for a number of things but we currently have no // This is sort of a proxy for a number of things but we currently have no
// need to control those things separately, so this is simpler. // need to control those things separately, so this is simpler.
pipMode?: boolean; pipMode?: boolean;
// Callbacks for dragging the CallView in PIP mode
dragCallbacks?: {
onStartMoving: (event: React.MouseEvent) => void;
onMoving: (event: React.MouseEvent) => void;
onEndMoving: () => void;
}
} }
interface IState { interface IState {