HomePhabricator
Diffusion Comm 806b52e852ee

[web] Add cancel and confirm buttons

Description

[web] Add cancel and confirm buttons

Summary:
The cancel button closes the modal. The confirm button adds either friends or blocks the users.

user_buttons.png (218×1 px, 21 KB)

Depends on D4309, D4353

Test Plan:
Render the component and check if the buttons look ok.
Confirm button should be disabled while there are no users selected.
Cancel and confirm button should call appropriate functions.

Reviewers: def-au1t, atul

Reviewed By: atul

Subscribers: ashoat, Adrian, yayabosh

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

Details

Provenance
tomekAuthored on Jun 7 2022, 8:30 AM
Reviewer
atul
Differential Revision
D4310: [web] Add cancel and confirm buttons
Parents
rCOMM0d8f4bb46a79: [web] Make button size consistent between variants
Branches
Unknown
Tags
Unknown