RCTEventAnimation.h 562 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <React/RCTEventDispatcher.h>
  8. #import "RCTValueAnimatedNode.h"
  9. @interface RCTEventAnimation : NSObject
  10. @property (nonatomic, readonly, weak) RCTValueAnimatedNode *valueNode;
  11. - (instancetype)initWithEventPath:(NSArray<NSString *> *)eventPath
  12. valueNode:(RCTValueAnimatedNode *)valueNode;
  13. - (void)updateWithEvent:(id<RCTEvent>)event;
  14. @end