RCTSurfaceBackedComponentState.h 406 B

123456789101112131415161718
  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. @class RCTSurface;
  9. @interface RCTSurfaceBackedComponentState: NSObject
  10. @property (atomic, readonly, strong) RCTSurface *surface;
  11. + (instancetype)newWithSurface:(RCTSurface *)surface;
  12. @end