Skip to content

Commit abdd138

Browse files
committed
fix: formatting
1 parent 3d7389b commit abdd138

File tree

1 file changed

+12
-25
lines changed

1 file changed

+12
-25
lines changed

package/src/contexts/messageInputContext/MessageInputContext.tsx

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,9 @@ export type InputMessageInputContextValue = {
185185
AutoCompleteSuggestionList: React.ComponentType<AutoCompleteSuggestionListProps>;
186186

187187
/**
188-
* Custom UI component to render [draggable
189-
* handle](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) of attachment
190-
* picker.
188+
* Custom UI component to render [draggable handle](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) of attachment picker.
191189
*
192-
* **Default**
193-
* [AttachmentPickerBottomSheetHandle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx)
190+
* **Default** [AttachmentPickerBottomSheetHandle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx)
194191
*/
195192
AttachmentPickerBottomSheetHandle: React.FC<BottomSheetHandleProps>;
196193
/**
@@ -208,8 +205,7 @@ export type InputMessageInputContextValue = {
208205
/**
209206
* Custom UI component for AttachmentPickerSelectionBar
210207
*
211-
* **Default: **
212-
* [AttachmentPickerSelectionBar](https://github.com/GetStream/stream-chat-react-native/blob/develop/package/src/components/AttachmentPicker/components/AttachmentPickerSelectionBar.tsx)
208+
* **Default: ** [AttachmentPickerSelectionBar](https://github.com/GetStream/stream-chat-react-native/blob/develop/package/src/components/AttachmentPicker/components/AttachmentPickerSelectionBar.tsx)
213209
*/
214210
AttachmentPickerSelectionBar: React.ComponentType;
215211
/**
@@ -220,41 +216,33 @@ export type InputMessageInputContextValue = {
220216
attachmentSelectionBarHeight: number;
221217

222218
/**
223-
* Custom UI component for [camera selector
224-
* icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
219+
* Custom UI component for [camera selector icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
225220
*
226-
* **Default: **
227-
* [CameraSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/CameraSelectorIcon.tsx)
221+
* **Default: ** [CameraSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/CameraSelectorIcon.tsx)
228222
*/
229223
CameraSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
230224
/**
231225
* Custom UI component for the poll creation icon.
232226
*
233-
* **Default: **
234-
* [CreatePollIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/CreatePollIcon.tsx)
227+
* **Default: ** [CreatePollIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/CreatePollIcon.tsx)
235228
*/
236229
CreatePollIcon: React.ComponentType;
237230
/**
238-
* Custom UI component for [file selector
239-
* icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
231+
* Custom UI component for [file selector icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
240232
*
241-
* **Default: **
242-
* [FileSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/FileSelectorIcon.tsx)
233+
* **Default: ** [FileSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/FileSelectorIcon.tsx)
243234
*/
244235
FileSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
245236
/**
246-
* Custom UI component for [image selector
247-
* icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
237+
* Custom UI component for [image selector icon](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png)
248238
*
249-
* **Default: **
250-
* [ImageSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageSelectorIcon.tsx)
239+
* **Default: ** [ImageSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageSelectorIcon.tsx)
251240
*/
252241
ImageSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
253242
/**
254243
* Custom UI component for Android's video recorder selector icon.
255244
*
256-
* **Default: **
257-
* [VideoRecorderSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/VideoRecorderSelectorIcon.tsx)
245+
* **Default: ** [VideoRecorderSelectorIcon](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/VideoRecorderSelectorIcon.tsx)
258246
*/
259247
VideoRecorderSelectorIcon: React.ComponentType<AttachmentPickerIconProps>;
260248
AudioAttachmentUploadPreview: React.ComponentType<AudioAttachmentUploadPreviewProps>;
@@ -471,8 +459,7 @@ export const MessageInputProvider = ({
471459

472460
/**
473461
* These are the RN SDK specific middlewares that are added to the message composer to provide the default behaviour.
474-
* TODO: Discuss and decide if we provide them by default in the SDK or leave it to the user to add them if they want
475-
* the feature.
462+
* TODO: Discuss and decide if we provide them by default in the SDK or leave it to the user to add them if they want the feature.
476463
*/
477464
useEffect(() => {
478465
if (value.doFileUploadRequest) {

0 commit comments

Comments
 (0)