Skip to content

Commit

Permalink
fix #2521
Browse files Browse the repository at this point in the history
  • Loading branch information
kesha-antonov committed Aug 29, 2024
1 parent a6664ae commit 0879d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GiftedChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {
/* Extra props to be passed to the <TextInput> */
textInputProps?: object
/* Determines whether the keyboard should stay visible after a tap; see <ScrollView> docs */
keyboardShouldPersistTaps?: boolean
keyboardShouldPersistTaps?: 'always' | 'never' | 'handled'
/* Max message composer TextInput length */
maxInputLength?: number
/* Force send button */
Expand Down Expand Up @@ -214,7 +214,7 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {
/* Callback when the input text changes */
onInputTextChanged?(text: string): void
/* Custom parse patterns for react-native-parsed-text used to linking message content (like URLs and phone numbers) */
parsePatterns?: (linkStyle: TextStyle) => []
parsePatterns?: (linkStyle?: TextStyle) => { type?: string, pattern?: RegExp, style?: StyleProp<TextStyle> | object, onPress?: unknown, renderText?: unknown }[]
onQuickReply?(replies: Reply[]): void
renderQuickReplies?(
quickReplies: QuickRepliesProps<TMessage>,
Expand Down

0 comments on commit 0879d75

Please sign in to comment.