feat: add reaction button to overlay

This commit is contained in:
Paul Makles
2022-08-08 15:15:20 +01:00
parent e1d3ad1675
commit 58f294b790
9 changed files with 334 additions and 129 deletions

View File

@@ -155,7 +155,9 @@ export const ChannelButton = observer((props: ChannelProps) => {
data-alert={alerting}
data-muted={muted}
aria-label={channel.name}
className={classNames(styles.item, { [styles.compact]: compact })}
className={classNames(styles.item, {
[styles.compact]: compact,
})}
{...useTriggerEvents("Menu", {
channel: channel._id,
unread: !!alert,
@@ -175,7 +177,9 @@ export const ChannelButton = observer((props: ChannelProps) => {
<Text
id="quantities.members"
plural={channel.recipients!.length}
fields={{ count: channel.recipients!.length }}
fields={{
count: channel.recipients!.length,
}}
/>
)}
</div>