RCTSurfaceRootShadowViewDelegate.h 638 B

12345678910111213141516171819202122
  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. NS_ASSUME_NONNULL_BEGIN
  9. @class RCTSurfaceRootShadowView;
  10. @protocol RCTSurfaceRootShadowViewDelegate <NSObject>
  11. - (void)rootShadowView:(RCTSurfaceRootShadowView *)rootShadowView didChangeIntrinsicSize:(CGSize)instrinsicSize;
  12. - (void)rootShadowViewDidStartRendering:(RCTSurfaceRootShadowView *)rootShadowView;
  13. - (void)rootShadowViewDidStartLayingOut:(RCTSurfaceRootShadowView *)rootShadowView;
  14. @end
  15. NS_ASSUME_NONNULL_END