UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

20 lines 701 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** @private */ export const REACTION_START_DISPLAY_SIZE = 44; /** @private */ export const REACTION_NUMBER_OF_ANIMATION_FRAMES = 51; /** @private */ export const REACTION_SCREEN_SHARE_ANIMATION_TIME_MS = 4133; /** @private */ export const REACTION_DEFAULT_RESOURCE_FRAME_SIZE_PX = 128; /** @private */ export const getCombinedKey = (userId, reactionType, receivedAt) => { const receivedTime = receivedAt.toISOString(); return userId + reactionType + receivedTime; }; /** @private */ export const getReceivedUnixTime = (receivedTime) => { return receivedTime.getTime(); }; //# sourceMappingURL=reactionUtils.js.map