Module @sendbird/uikit-utils

@sendbird/uikit-utils

A collection of utility functions and constants for building chat UI components with Sendbird UIKit.

This package is created and published for the dependency of UIKit for React-Native. Therefore, we do not guarantee that this package will work in other environments. If you use this package outside of UIKit for React-Native and encounter any issues, you will need to handle them on your own.

Installation

npm i @sendbird/uikit-utils

Index

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

ASYNC_NOOP NOOP PASS arrayToMap arrayToMapWithGetter calcMessageGrouping conditionChaining confirmAndMarkAsDelivered confirmAndMarkAsRead convertFileTypeToMessageType createMentionTemplateRegex getAvailableUriFromFileMessage getChannelUniqId getDateSeparatorFormat getDefaultGroupChannelCreateParams getDefaultMessageSearchQueryParams getDownscaleSize getFileExtension getFileExtensionFromMime getFileExtensionFromUri getFileIconFromMessage getFileIconFromMessageType getFileType getFileTypeFromMessage getGroupChannelChatAvailableState getGroupChannelLastMessage getGroupChannelPreviewTime getGroupChannelTitle getGroupChannels getMembersExcludeMe getMessagePreviewBody getMessagePreviewTime getMessagePreviewTitle getMessageTimeFormat getMessageType getMessageUniqId getMimeFromFileExtension getOpenChannelChatAvailableState getOpenChannelParticipants getOpenChannelTitle getOpenChannels getReactionCount getThumbnailUriFromFileMessage getUserUniqId getVoiceMessageFileObject getVoiceMessageMimeType hasSameSender hash ifOperator ifThenOr isDefaultCoverImage isDifferentChannel isFunction isImage isMyMessage isNewMessage isSendableMessage isSendbirdNotification isVoiceMessage matchesOneOf mergeObjectArrays messageComparator messageKeyExtractor millsToMMSS millsToMSS normalizeFileName parseMimeType parseSendbirdNotification pick replace replaceUrlAsComponents replaceWithRegex shouldCompressImage shouldRenderParentMessage shouldRenderReaction sleep toMegabyte truncate truncatedCount useAppState useAsyncEffect useAsyncLayoutEffect useDebounceEffect useDeferredModalState useForceUpdate useFreshCallback useIIFE useIsFirstMount useIsMountedRef usePartialState useRefTracker useSafeAreaPadding useUniqHandlerId useUniqId

Generated using TypeDoc