not-tinder-ui

not-tinder-ui

  • Docs

›Components

Get started

  • Introduction

Components

  • AddRemoveImage
  • Avatar
  • Card
  • ChatBubble
  • ChatInput
  • CustomSwitch
  • LabeledInput
  • LabeledRadioButtons
  • MediaCard
  • SwipeableWrapper

ChatBubble

ChatBubble

ChatBubble_example

Usage

import React from 'react'
import { View } from 'react-native'
import { ChatBubble } from 'nottinderuikit'

const ChatSample = () => {

  return <View style={{ width: "80%", paddingHorizontal: 20 }}>
              <ChatBubble
                text="Hello"
                id="1223"
              />
              <ChatBubble
                text="Hello"
                id="1224"
                isInbound
              />
              <ChatBubble
                text="How you doing?"
                id="1225"
              />
              <ChatBubble
                text="I'm fine thanks, what about you?"
                id="1226"
                isInbound
              />
          </View>
}

export default ChatSample

Props

  • id
  • text
  • isInbound

Reference

id

Message id

TypeDefaultRequired
stringundefinedtrue

text

Text to be displayed

TypeDefaultRequired
stringundefinedtrue

isInbound

The components we want to wrap into the Card

TypeDefaultRequired
booleanundefinedfalse
← CardChatInput →
  • Usage
  • Props
  • Reference
    • id
    • text
    • isInbound
not-tinder-ui
Docs
Getting Started (or other categories)
More
GitHubStar
Facebook Open Source