Skip to content

Commit 68d5be2

Browse files
committed
feat: add textInputProps to support custom TextInput behavior in GroupChannel (e.g. autoCorrect)
1 parent 6e659ef commit 68d5be2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/uikit-react-native/src/domain/groupChannel/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export interface GroupChannelProps {
5353

5454
searchItem?: GroupChannelProps['MessageList']['searchItem'];
5555

56+
partialTextInputProps?: GroupChannelProps['Input']['partialTextInputProps'];
57+
5658
/**
5759
* @description You can specify the query parameters for the message list.
5860
* @example

packages/uikit-react-native/src/fragments/createGroupChannelFragment.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const createGroupChannelFragment = (initModule?: Partial<GroupChannelModule>): G
7070
flatListComponent,
7171
flatListProps,
7272
messageListQueryParams,
73+
partialTextInputProps,
7374
collectionCreator,
7475
}) => {
7576
const { playerService, recorderService } = usePlatformService();
@@ -341,6 +342,7 @@ const createGroupChannelFragment = (initModule?: Partial<GroupChannelModule>): G
341342
onPressSendFileMessage={onPressSendFileMessage}
342343
onPressUpdateUserMessage={onPressUpdateUserMessage}
343344
onPressUpdateFileMessage={onPressUpdateFileMessage}
345+
partialTextInputProps={partialTextInputProps}
344346
/>
345347
</StatusComposition>
346348
</GroupChannelModule.Provider>

0 commit comments

Comments
 (0)