ARTShapeManager.m 429 B

123456789101112131415161718192021222324
  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/ARTShapeManager.h>
  8. #import <React/ARTShape.h>
  9. #import "RCTConvert+ART.h"
  10. @implementation ARTShapeManager
  11. RCT_EXPORT_MODULE()
  12. - (ARTRenderable *)node
  13. {
  14. return [ARTShape new];
  15. }
  16. RCT_EXPORT_VIEW_PROPERTY(d, CGPath)
  17. @end