Skip to main content

ChatMessageAvatar

Reusable ChatMessage component

Example

import { ChatMessageAvatar } from '@lad-tech/mobydick-core';

export const ChatWidget = () => {
return (
<ChatMessageAvatar
user={{
firstName: 'firstName',
lastName: 'lastName',
middleName: 'middleName',
}}
isMe={false}
time={'12-12-1998'}
message={'message'}
/>
);
};

Props

IAvatar Props

Inherits IAvatar Props.

IChatMessage Props

Inherits IChatMessage Props.

onPress

TYPE
() => void