decord/stable/source/modules/messages/getAdaptiveMessageLimit.native.tsx

20 lines
588 B
TypeScript
Raw Normal View History

// Module ID: 10240
// Function ID: 10241
// Name: getAdaptiveMessageLimit
// Dependencies: [1074, 2]
// Exports: getMessageLimit, useMessageLimit
// Module 10240 (getAdaptiveMessageLimit)
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
const MAX_MESSAGES_PER_CHANNEL = Constants.MAX_MESSAGES_PER_CHANNEL;
const result = size.fileFinishedImporting("modules/messages/getAdaptiveMessageLimit.native.tsx");
export function getMessageLimit() {
return MAX_MESSAGES_PER_CHANNEL;
}
export function useMessageLimit() {
return MAX_MESSAGES_PER_CHANNEL;
}