RCTLayoutAnimationGroup.h 1.1 KB

1234567891011121314151617181920212223242526272829
  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 <UIKit/UIKit.h>
  8. #import <React/RCTBridgeModule.h>
  9. @class RCTLayoutAnimation;
  10. @interface RCTLayoutAnimationGroup : NSObject
  11. @property (nonatomic, readonly) RCTLayoutAnimation *creatingLayoutAnimation;
  12. @property (nonatomic, readonly) RCTLayoutAnimation *updatingLayoutAnimation;
  13. @property (nonatomic, readonly) RCTLayoutAnimation *deletingLayoutAnimation;
  14. @property (nonatomic, copy) RCTResponseSenderBlock callback;
  15. - (instancetype)initWithCreatingLayoutAnimation:(RCTLayoutAnimation *)creatingLayoutAnimation
  16. updatingLayoutAnimation:(RCTLayoutAnimation *)updatingLayoutAnimation
  17. deletingLayoutAnimation:(RCTLayoutAnimation *)deletingLayoutAnimation
  18. callback:(RCTResponseSenderBlock)callback;
  19. - (instancetype)initWithConfig:(NSDictionary *)config callback:(RCTResponseSenderBlock)callback;
  20. @end