Files
react-native/Libraries
Tim Yung e22946c25a Animated: Update Abstract Component Flow Type
Summary:
Updates the return type of `createAnimatedComponent` to reflect the new behavior (where we forward the ref to the internal component).

I also improved the type annotation for `Props` so that we can still enforce that only valid prop names are supplied. (We still do not check the prop values because we do not currently have a good strategy for typing the "animated versions" of those.)

Changelog:
[General] [Changed] - Flow types for Animated components now validates prop names and yields the new component instance.

Reviewed By: TheSavior

Differential Revision: D18290473

fbshipit-source-id: 8c629ab6aff009ebe6dabca1683c99a357869977
2019-11-03 18:02:00 -08:00
..
2019-10-16 10:06:34 -07:00
2019-11-01 19:34:46 -07:00
2019-10-03 14:33:59 -07:00
2019-10-16 10:06:34 -07:00
2019-11-01 16:08:49 -07:00
2019-08-09 10:11:15 -07:00
2019-10-18 14:45:19 -07:00
2019-08-09 10:11:15 -07:00
2019-11-01 19:34:46 -07:00
2019-10-03 14:33:59 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-10-16 10:06:34 -07:00
2019-11-03 11:59:52 -08:00
2019-11-03 18:02:00 -08:00
2019-11-01 19:34:46 -07:00
2019-11-03 11:59:52 -08:00
2019-08-09 10:11:15 -07:00
2019-10-16 10:06:34 -07:00
2019-11-01 19:34:46 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-10-16 10:06:34 -07:00
2019-08-09 10:11:15 -07:00
2019-10-16 10:06:34 -07:00
2019-10-12 15:52:27 -07:00
2019-11-01 19:34:46 -07:00
2019-10-16 10:06:34 -07:00