RCTWrapperViewManager.m 537 B

123456789101112131415161718192021222324252627
  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 "RCTWrapperViewManager.h"
  8. #import "RCTWrapperShadowView.h"
  9. #import "RCTWrapperView.h"
  10. @implementation RCTWrapperViewManager
  11. RCT_EXPORT_MODULE()
  12. - (RCTShadowView *)shadowView
  13. {
  14. return [[RCTWrapperShadowView alloc] initWithBridge:self.bridge];
  15. }
  16. - (UIView *)view
  17. {
  18. return [[RCTWrapperView alloc] initWithBridge:self.bridge];
  19. }
  20. @end