react-native-gifted-chat
Version:
The most complete chat UI for React Native
12 lines • 489 B
TypeScript
import React from 'react';
import { StyleProp, ImageStyle, TextStyle } from 'react-native';
import { User } from './Models';
export interface GiftedAvatarProps {
user?: User;
avatarStyle?: StyleProp<ImageStyle>;
textStyle?: StyleProp<TextStyle>;
onPress?: (props: GiftedAvatarProps) => void;
onLongPress?: (props: GiftedAvatarProps) => void;
}
export declare function GiftedAvatar(props: GiftedAvatarProps): React.JSX.Element;
//# sourceMappingURL=GiftedAvatar.d.ts.map