Reviewed By: bhamodi Differential Revision: D33331422 fbshipit-source-id: 016e8dcc0c0c7f1fc353a348b54fda0d5e2ddc01
26 lines
534 B
Plaintext
26 lines
534 B
Plaintext
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#if FB_SONARKIT_ENABLED
|
|
|
|
#import "SKComponentMountedView.h"
|
|
|
|
@implementation SKComponentMountedView
|
|
|
|
- (instancetype)initWithView:(UIView*)view
|
|
children:(std::vector<SKComponentLayoutWrapper*>)children {
|
|
if (self = [super init]) {
|
|
_view = view;
|
|
_children = std::move(children);
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
#endif
|