//
//  BarChartViewManager.m
//  react-native-charts
//
//  Created by Peter Vu on 12/01/2023.
//

#import <React/RCTViewManager.h>
#import <React/RCTUIManager.h>
#import "RCTBridge.h"

@interface BarChartViewManager : RCTViewManager
@end

@implementation BarChartViewManager

RCT_EXPORT_MODULE(RNBarChartView)
RCT_EXPORT_VIEW_PROPERTY(seriesData, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(seriesJsonData, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(xAxis, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(yAxis, NSDictionary)

- (UIView *)view
{
  return [[UIView alloc] init];
}

@end

