/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import "RNDynamsoftImageEditorView.h"
#import <DynamsoftCaptureVisionBundle/DynamsoftCaptureVisionBundle.h>

@implementation RNDynamsoftImageEditorView

- (instancetype)init
{
    self = [super init];
    if (self) {
        _editorView = [[DSImageEditorView alloc] init];
        [self addSubview:_editorView];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.editorView.frame = self.bounds;
}

@end
