The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/components/Message/Body/BigEmoji.tsx

18 lines
408 B

import { BigEmoji as ASTBigEmoji } from '@rocket.chat/message-parser';
import React, { FC } from 'react';
import Emoji from '../../Emoji';
type BigEmojiProps = {
value: ASTBigEmoji['value'];
};
const BigEmoji: FC<BigEmojiProps> = ({ value }) => (
<>
{value.map((block, index) => (
<Emoji className='big' key={index} emojiHandle={`:${block.value.value}:`} />
))}
</>
);
export default BigEmoji;