diff --git a/package/src/components/Chat/Chat.tsx b/package/src/components/Chat/Chat.tsx index 89df8a737e..6e9b3079cc 100644 --- a/package/src/components/Chat/Chat.tsx +++ b/package/src/components/Chat/Chat.tsx @@ -51,7 +51,7 @@ export type ChatProps = Pick & * This only controls whether the native adapter gets installed by this Chat instance. * It does not uninstall an adapter that was already installed on the client. * - * @default true + * @default false */ useNativeMultipartUpload?: boolean; /** diff --git a/package/src/components/index.ts b/package/src/components/index.ts index 4f906d2d19..7195904f8d 100644 --- a/package/src/components/index.ts +++ b/package/src/components/index.ts @@ -148,6 +148,7 @@ export * from './MessageInput/components/AttachmentPreview/AudioAttachmentUpload export * from './MessageInput/components/AttachmentPreview/FileAttachmentUploadPreview'; export * from './MessageInput/components/AttachmentPreview/ImageAttachmentUploadPreview'; export * from './MessageInput/hooks/useAudioRecorder'; +export * from './MessageInput/hooks/useCooldownRemaining'; export * from './MessageList/DateHeader'; export * from './MessageList/hooks/useMessageList'; @@ -196,6 +197,10 @@ export * from './UIComponents/SvgAwareImage'; export * from './UIComponents/Spinner'; export * from './UIComponents/SwipableWrapper'; export * from './UIComponents/PortalWhileClosingView'; +export * from './UIComponents/EmptyList'; +export * from './UIComponents/EmptySearchResult'; +export * from './UIComponents/SearchInput'; +export * from './UIComponents/SelectionCircle'; export * from './Thread/Thread'; export * from './Thread/components/ThreadFooterComponent'; diff --git a/package/src/components/ui/index.ts b/package/src/components/ui/index.ts index 7daf9d6d37..afe40c071a 100644 --- a/package/src/components/ui/index.ts +++ b/package/src/components/ui/index.ts @@ -2,3 +2,6 @@ export * from './Avatar'; export * from './VideoPlayIndicator'; export * from './Button'; export * from './Badge'; +export * from './Input/Input'; +export * from './SpeedSettingsButton'; +export * from './GiphyChip'; diff --git a/package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx b/package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx index 063d1f6f05..71ccda2f50 100644 --- a/package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +++ b/package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx @@ -22,7 +22,7 @@ export type AttachmentPickerContextValue = Pick< > & { /** * `bottomInset` determine the height of the `AttachmentPicker` and the underlying shift to the `MessageList` when it is opened. - * This can also be set via the `setBottomInset` function provided by the `useAttachmentPickerContext` hook. + * This can be set via the `bottomInset` prop on the `Channel` component. * * Please check [OverlayProvider](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#overlayprovider) section in Cookbook * for more details. diff --git a/package/src/contexts/channelsContext/ChannelsContext.tsx b/package/src/contexts/channelsContext/ChannelsContext.tsx index 48e66f26aa..c6aa806d22 100644 --- a/package/src/contexts/channelsContext/ChannelsContext.tsx +++ b/package/src/contexts/channelsContext/ChannelsContext.tsx @@ -69,7 +69,7 @@ export type ChannelsContextValue = { */ maxUnreadCount: number; /** - * Number of skeletons that should show when loading. Default: 6 + * Number of skeletons that should show when loading. Default: 8 */ numberOfSkeletons: number; /** diff --git a/package/src/contexts/pollContext/pollContext.tsx b/package/src/contexts/pollContext/pollContext.tsx index ec0ef46e8d..bfb1f07797 100644 --- a/package/src/contexts/pollContext/pollContext.tsx +++ b/package/src/contexts/pollContext/pollContext.tsx @@ -29,7 +29,7 @@ export const usePollContext = () => { if (contextValue === DEFAULT_BASE_CONTEXT_VALUE && !isTestEnvironment()) { throw new Error( - 'The useCreatePollContext hook was called outside of the PollContext provider. Make sure you have configured the Poll component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel', + 'The usePollContext hook was called outside of the PollContext provider. Make sure you have configured the Poll component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel', ); }