ARTNodeManager.m 547 B

12345678910111213141516171819202122232425262728293031323334
  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/ARTNodeManager.h>
  8. #import <React/ARTNode.h>
  9. @implementation ARTNodeManager
  10. RCT_EXPORT_MODULE()
  11. - (ARTNode *)node
  12. {
  13. return [ARTNode new];
  14. }
  15. - (UIView *)view
  16. {
  17. return [self node];
  18. }
  19. - (RCTShadowView *)shadowView
  20. {
  21. return nil;
  22. }
  23. RCT_EXPORT_VIEW_PROPERTY(opacity, CGFloat)
  24. RCT_EXPORT_VIEW_PROPERTY(transform, CGAffineTransform)
  25. @end