まるまる
まるまる

Reputation: 1

How to make bubble and Time in react-native-gifted-chat side by side

When I implemented it, bubble and Time were split into left and right ends. enter image description here Actual source code

  <View style={styles.incomingContainer}>
    <Bubble
      {...props}
      containerStyle={{
        right: {
          justifyContent: "flex-end",
          borderColor: "red",
          borderWidth: 1,
        },
      }}
      renderTime={() => null}
    />
    {renderTime(props)}
  </View>

I want to put Bubble and time next to each other without opening the margin as shown in the image.

enter image description here

Upvotes: 0

Views: 158

Answers (0)

Related Questions