react-native-macos/ReactCommon/fabric/core/componentdescriptor
Joshua Gross d269844cc1 LayoutAnimations: have each Props struct do its own interpolation
Summary:
Each ComponentDescriptor becomes capable of doing its own interpolation over props for animation purposes.

This new custom interpolator is called by default by the ConcreteComponentDescriptor, but `ComponentDescriptor::interpolateProps` is a virtual function and each ComponentDescriptor can provide custom interpolation if necessary.

For now, only View does any actual interpolation, to support LayoutAnimations.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D20965310

fbshipit-source-id: e1c1588107848e94c155efecb0da1cc1619ae544
2020-05-13 15:40:34 -07:00
..
ComponentDescriptor.cpp Fabric: Use ComponentDescriptorParameters as an actual parameter of ComponentDescriptor constructor 2019-12-22 22:22:00 -08:00
ComponentDescriptor.h LayoutAnimations: have each Props struct do its own interpolation 2020-05-13 15:40:34 -07:00
ConcreteComponentDescriptor.h LayoutAnimations: have each Props struct do its own interpolation 2020-05-13 15:40:34 -07:00