HomePhabricator
Diffusion Comm ac5fb78605ad

[web] intoduce MessageLikeTooltipButton component

Description

[web] intoduce MessageLikeTooltipButton component

Summary:
introduce MessageLikeTooltipButton component. This component returns 👍 wrapped in a div, and the class of the div changes depending on the viewerReacted prop that gets passed down. I imagine that this will be a temporary component that will eventually be deleted once we extend from message liking to message reactions


Depends on D6055

Linear Task: ENG-2474

Test Plan:
Please look at the screenshots to see the MessageLikeTooltipButton component:

When viewerReacted is true:

Screenshot 2022-12-27 at 1.24.52 PM.png (680×1 px, 91 KB)

When viewerReacted is false:

Screenshot 2022-12-27 at 1.25.03 PM.png (802×1 px, 94 KB)

Reviewers: atul, tomek

Reviewed By: atul, tomek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6056

Details

Provenance
ginsuAuthored on Dec 26 2022, 8:41 PM
Reviewer
atul
Differential Revision
D6056: [web] intoduce MessageLikeTooltipButton component
Parents
rCOMM9a56f3635370: [web] Update a tooltip when it changes
Branches
Unknown
Tags
Unknown