stream-chat-react
Version:
React components to create chat conversations or livestream style chat
9 lines • 483 B
TypeScript
import React from 'react';
import type { DefaultStreamChatGenerics } from '../../../types/types';
export declare type CooldownTimerState = {
cooldownInterval: number;
setCooldownRemaining: React.Dispatch<React.SetStateAction<number | undefined>>;
cooldownRemaining?: number;
};
export declare const useCooldownTimer: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>() => CooldownTimerState;
//# sourceMappingURL=useCooldownTimer.d.ts.map