mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
49f3f47b1e
Summary: Adds support for Animated.Color with native driver for iOS. Reads the native config for the rbga channel AnimatedNodes, and on update(), converts the values into a SharedColor. Followup changes will include support for platform colors. Ran update_pods: https://www.internalfb.com/intern/wiki/React_Native/Preparing_to_Ship/Open_Source_Pods/ Changelog: [iOS][Added] - Support running animations with AnimatedColor with native driver Reviewed By: sammy-SC Differential Revision: D33860583 fbshipit-source-id: 990ad0f754a21e3939f2cb233bcfa793ef12eb14
15 lines
328 B
Objective-C
15 lines
328 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTAnimatedNode.h>
|
|
|
|
@interface RCTColorAnimatedNode : RCTAnimatedNode
|
|
|
|
@property (nonatomic, assign) int32_t color;
|
|
|
|
@end
|