UNPKG

@qte/react-native-gifted-chat

Version:

Performant fork of react-native-gifted-chat with FlashList support

11 lines (10 loc) 541 B
import React from 'react'; import { ViewStyle, StyleProp, TextStyle } from 'react-native'; import { IMessage } from './types'; export interface SystemMessageProps<TMessage extends IMessage> { currentMessage: TMessage; containerStyle?: StyleProp<ViewStyle>; wrapperStyle?: StyleProp<ViewStyle>; textStyle?: StyleProp<TextStyle>; } export declare function SystemMessage<TMessage extends IMessage = IMessage>({ currentMessage, containerStyle, wrapperStyle, textStyle, }: SystemMessageProps<TMessage>): React.JSX.Element | null;