//
//  SLPickView.h
//  SLAiELTS
//
//  Created by Gusont on 2023/3/14.
//

#import <UIKit/UIKit.h>

typedef void (^SLPickSureBtnClickBlock)(NSString * _Nullable str, NSArray *titlesValue);

NS_ASSUME_NONNULL_BEGIN

@interface SLPickView : UIView

@property (nonatomic, copy) SLPickSureBtnClickBlock resultBlock;

- (nonnull id)initWithPickerData:(nonnull NSMutableArray<NSArray *> *)dataArr;

- (void)setComponentTitles:(NSArray *)titles;

- (void)setTitleLabelText:(NSString *)text;

- (void)show;

@end

NS_ASSUME_NONNULL_END
