stream-chat-react
Version:
React components to create chat conversations or livestream style chat
8 lines • 398 B
TypeScript
/**
* Provides and initial value of cooldown, from which the countdown should start, e.g.:
*
* The value of channel.data.cooldown is 100s but 30s has already elapsed, user reloads the page,
* the initial value is now 70s from which the countdown will continue using useTimer() hook.
*/
export declare const useCooldownRemaining: () => number;
//# sourceMappingURL=useCooldownRemaining.d.ts.map