Summary: Size is passed as a prop to every `CKComponent` and `CKFlexboxChild`. It is useful to see where it was set exactly Reviewed By: kevin0571 Differential Revision: D16688496 fbshipit-source-id: 5f8dc39a967ab2d7d89d6a37a8152aa6b59db220
14 lines
550 B
Objective-C
14 lines
550 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the LICENSE
|
|
* file in the root directory of this source tree.
|
|
*/
|
|
#import <ComponentKit/CKComponent.h>
|
|
#import <ComponentKit/CKFlexboxComponent.h>
|
|
|
|
NSString *relativeDimension(CKRelativeDimension dimension);
|
|
NSDictionary<NSString *, NSString *> *flexboxRect(CKFlexboxSpacing spacing);
|
|
CKRelativeDimension relativeStructDimension(NSString *dimension);
|
|
NSDictionary<NSString *, NSString *> *ckcomponentSize(CKComponentSize size);
|