Skip to content
Permalink
Browse files

fix typings of <Bubble />

  • Loading branch information
ramonvermeulen authored and xcarpentier committed Jan 6, 2020
1 parent 4cc80ea commit e14aa1e073668be0cae02485c3c06c0478fbb8c0
Showing with 2 additions and 2 deletions.
  1. +1 −1 flow-typedefs/Bubble.js.flow
  2. +1 −1 src/Bubble.tsx
@@ -47,7 +47,7 @@ export type BubbleProps<TMessage: IMessage = IMessage> = $ReadOnly<{|
tickStyle?: TextStyleProp,
containerToNextStyle?: LeftRightStyle<ViewStyleProp>,
containerToPreviousStyle?: LeftRightStyle<ViewStyleProp>,
usernameStyle?: LeftRightStyle<TextStyleProp>,
usernameStyle?: TextStyleProp,
quickReplyStyle?: ViewStyleProp,
onLongPress?: (context?: any, message?: any) => void,
onQuickReply?: (Array<Reply>) => void,
@@ -140,7 +140,7 @@ export interface BubbleProps<TMessage extends IMessage> {
tickStyle?: StyleProp<TextStyle>
containerToNextStyle?: LeftRightStyle<ViewStyle>
containerToPreviousStyle?: LeftRightStyle<ViewStyle>
usernameStyle?: LeftRightStyle<ViewStyle>
usernameStyle?: TextStyle
quickReplyStyle?: StyleProp<ViewStyle>
onLongPress?(context?: any, message?: any): void
onQuickReply?(replies: Reply[]): void

0 comments on commit e14aa1e

Please sign in to comment.
You can’t perform that action at this time.