Page MenuHomePhabricator

[native] Move render function from Tooltip to functional component
ClosedPublic

Authored by angelika on Wed, Dec 11, 7:59 AM.
Tags
None
Referenced Files
F3488506: D14112.id46409.diff
Wed, Dec 18, 10:15 AM
Unknown Object (File)
Tue, Dec 17, 3:33 PM
Unknown Object (File)
Tue, Dec 17, 2:55 PM
Unknown Object (File)
Fri, Dec 13, 11:17 PM
Subscribers
None

Details

Summary

Move render() function to the functional compoent as a part of Tooltip migration to functional component. This finishes the migration of the Tooltip component to functional component.

Depends on D14111

Test Plan

Open up some tooltips and make sure they look correct.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

angelika held this revision as a draft.
ashoat added inline comments.
native/tooltip/tooltip.react.js
150 ↗(On Diff #46330)

Nit: can we rename this to just Tooltip now?

This revision is now accepted and ready to land.Wed, Dec 11, 5:57 PM
native/tooltip/tooltip.react.js
128 ↗(On Diff #46330)

This can be renamed now

Rebase and address feedback