Files
flipper/iOS/Plugins/FlipperKitLayoutPlugin/SonarKitLayoutComponentKitSupport/CKStatelessComponent+Sonar.mm
Oleksii Dykan c0982ea1db Add stateless component info in Flipper
Summary: This diff updates layout plugin in Flipper to show the name of the Stateless component C function

Reviewed By: adamjernst

Differential Revision: D9907068

fbshipit-source-id: d10b43171383f11aca3c140bbb450db817576052
2018-09-20 07:27:42 -07:00

28 lines
547 B
Plaintext

/*
* Copyright (c) 2018-present, Facebook, Inc.
*
* 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 "CKStatelessComponent+Sonar.h"
#import <FlipperKitLayoutPlugin/SKNamed.h>
#import <FlipperKitLayoutPlugin/SKObject.h>
#import "CKComponent+Sonar.h"
FB_LINKABLE(CKStatelessComponent_Sonar)
@implementation CKStatelessComponent (Sonar)
- (NSString *)sonar_componentNameOverride
{
return [self description];
}
@end
#endif