UNPKG

react-native-gifted-chat

Version:
25 lines 755 B
import React, { useMemo } from 'react'; import { View, StyleSheet } from 'react-native'; import { Text } from 'react-native-gesture-handler'; import { Color } from './Color'; const styles = StyleSheet.create({ container: { padding: 10, }, text: { color: Color.alizarin, fontWeight: '600', }, }); export function MessageVideo() { const content = useMemo(() => (<View style={styles.container}> <Text style={styles.text}> {'Video is not implemented by GiftedChat.'} </Text> <Text style={styles.text}> {'\nYou need to provide your own implementation by using renderMessageVideo prop.'} </Text> </View>), []); return content; } //# sourceMappingURL=MessageVideo.js.map