import * as React from 'react';
import { Avatar, Chat, Provider, ChatProps } from '@fluentui/react-northstar';
import { EmojiIcon, LikeIcon } from '@fluentui/react-icons-northstar';
const reactions = [
{
key: 'up',
icon: ,
content: '1K',
},
{
key: 'smile',
icon: ,
content: 5,
},
];
const items: ChatProps['items'] = [
{
attached: 'top',
contentPosition: 'end',
message: (
),
key: 'message-1',
},
{
attached: 'bottom',
contentPosition: 'end',
key: 'message-2',
message: (
,
content: '8',
},
]}
content="I'm back!"
author="John Doe"
timestamp="Yesterday, 10:15 PM"
mine
/>
),
},
{
gutter: ,
message: (
),
key: 'message-3',
},
];
const ChatExampleHeaderOverride = () => (
({
display: 'flex',
whiteSpace: 'nowrap',
overflow: 'hidden',
}),
},
ChatMessage: {
author: {
textOverflow: 'ellipsis',
overflow: 'hidden',
whiteSpace: 'nowrap',
alignItems: 'center',
},
},
},
}}
>
);
export default ChatExampleHeaderOverride;