Rename CKComponentLayout to CKLayout

Summary:
Rename `CKComponentLayout` to `CKLayout`
#nocancel

Reviewed By: adamjernst

Differential Revision: D22332214

fbshipit-source-id: 8845f2b313e214cd7892199bf0c40341c88a595a
This commit is contained in:
Kevin Lin
2020-07-01 11:57:49 -07:00
committed by Facebook GitHub Bot
parent d871ce0a04
commit 29c85e672b

View File

@@ -50,7 +50,7 @@ static CK::Optional<CKFlexboxComponentChild> findFlexboxLayoutParams(
+ (instancetype)newFromRoot:(id<CKInspectableView>)root + (instancetype)newFromRoot:(id<CKInspectableView>)root
parentKey:(NSString*)parentKey { parentKey:(NSString*)parentKey {
const CKComponentLayout layout = [root mountedLayout]; const auto layout = [root mountedLayout];
// Check if there is a cached wrapper. // Check if there is a cached wrapper.
if (layout.component) { if (layout.component) {
SKComponentLayoutWrapper* cachedWrapper = SKComponentLayoutWrapper* cachedWrapper =