import { MessageBubble } from 'react-native-super-simple-chat';
export default function App() {
const messages = [
{ text: 'Hi', userID: 1 },
{ text: 'Hi', userID: 2 },
{ text: 'How are you?', userID: 1 },
{ text: 'I am good, how are you?', userID: 2 },
{ text: 'Not bad', userID: 1 },
];
return (
<View style={styles.container}>
{messages.map((msg) => (
<MessageBubble text={msg.text} isSender={msg.userID === 1} />
))}
</View>
);
}
jabo-react-native-super-simple-chat
0.0.76 • Public • PublishedDependencies (47)
- @georstat/react-native-image-cache
- @miblanchard/react-native-slider
- @react-native-async-storage/async-storage
- @react-native-clipboard/clipboard
- @react-native-community/blur
- @react-native-community/cli-platform-android
- @react-native-community/cli-platform-ios
- @react-native-community/netinfo
- @react-native-cookies/cookies
- @react-native-material/core
- @reduxjs/toolkit
- @types/debug
- @types/react
- babel-plugin-module-resolver
- buffer
- debug
- deprecated-react-native-prop-types
- lottie-react-native
- metro-react-native-babel-preset
- moment
- react
- react-native
- react-native-blob-util
- react-native-confetti-cannon
- react-native-crypto
- react-native-device-info
- react-native-fbsdk-next
- react-native-gesture-handler
- react-native-inappbrowser-reborn
- react-native-linear-gradient
- react-native-nfc-manager
- react-native-os
- react-native-permissions
- react-native-qrcode-scanner
- react-native-randombytes
- react-native-reanimated
- react-native-screens
- react-native-share
- react-native-snap-carousel
- react-native-sound
- react-native-svg
- react-native-svg-transformer
- react-native-swipe-list-view
- react-native-tcp
- react-native-udp
- react-native-volume-manager
- react-redux
Dev Dependencies (15)
Package Sidebar
Install
npm i jabo-react-native-super-simple-chat
Weekly Downloads
50
Version
0.0.76
License
MIT
Unpacked Size
72.1 MB
Total Files
5544