Quantumbraid's picture
download
raw
297 Bytes
import { ReactZoomPanPinchRef } from "../models";
export const handleCallback = <T>(
context: ReactZoomPanPinchRef,
event: T,
callback?: (context: ReactZoomPanPinchRef, event: T) => void,
): void => {
if (callback && typeof callback === "function") {
callback(context, event);
}
};

Xet Storage Details

Size:
297 Bytes
·
Xet hash:
1efc50e83df749d8656c4b2a3a32727c034424a6b4e5f0055e0dd63309d53dd2

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.