//
//  LSTileContent+RCTNativeModel.m
//  ReactLightspeedSDK
//
//  Created by marc matta on 10/13/16.
//  Copyright © 2016 com.lightspeed. All rights reserved.
//

#import "LSTileContent+RCTNativeModel.h"
#import <React/RCTUtils.h>

@implementation LSTileContent (RCTNativeModel)

- (NSDictionary *)reactNativeRepresentation {
    return @{
             @"mainTitle" : RCTNullIfNil(self.mainTitle),
             @"subTitle" : RCTNullIfNil(self.subTitle),
             @"descMainTitle" : RCTNullIfNil(self.descMainTitle),
             @"descSubTitle" : RCTNullIfNil(self.descSubTitle),
             @"icon" : RCTNullIfNil(self.icon)
             };
}
@end
