HomePhabricator
Diffusion Comm 0691b0b4964c

[native] Move margin getter in Tooltip to functional component

Description

[native] Move margin getter in Tooltip to functional component

Summary:
Simply move get margin function to functional component as a part of Tooltip migration to functional component.

Depends on: D14103

Test Plan: Open some tooltips and verify they're positioned correctly.

Reviewers: ashoat, tomek

Reviewed By: ashoat

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

Details