mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-09 16:28:45 +01:00
refs #4653 Show emoji reactions
This commit is contained in:
parent
171af92a32
commit
2315059df0
@ -74,6 +74,12 @@ export default function Status(props: Props) {
|
|||||||
{status.poll && <Poll poll={status.poll} onRefresh={onRefresh} client={props.client} />}
|
{status.poll && <Poll poll={status.poll} onRefresh={onRefresh} client={props.client} />}
|
||||||
{status.card && <Card card={status.card} />}
|
{status.card && <Card card={status.card} />}
|
||||||
<Media media={status.media_attachments} sensitive={status.sensitive} openMedia={props.openMedia} />
|
<Media media={status.media_attachments} sensitive={status.sensitive} openMedia={props.openMedia} />
|
||||||
|
{status.emoji_reactions &&
|
||||||
|
status.emoji_reactions.map(e => (
|
||||||
|
<button key={e.name} className="py-1">
|
||||||
|
{e.url ? <img src={e.url} style={{ height: '24px' }} /> : <span>{e.name}</span>}
|
||||||
|
</button>
|
||||||
|
))}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user