[web] modify useOnClickReact to return function with arguments instead of passing arguments directly into hook
Summary:
modify useOnClickReact to return function with arguments instead of passing arguments directly into hook. This change will be necesary when we introduce the emoji keyboard, and we will need to pass the reactionInput through a useCallback hook
Depends on D6399
Linear Task: ENG-2776
Test Plan: flow, this will be further tested in a subsequent diff, and no regressions found when tested with plain message liking
Reviewers: atul, tomek
Reviewed By: atul
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D6401