//
//  HWMJoinConfLimitCell.h
//  HWMUISDKNativeDemo
//
//  Created by guomeng on 2020/11/3.
//  Copyright © 2020 Huawei Technologies Co. Ltd. All rights reserved.
//

#import <Cocoa/Cocoa.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^HWMSelectMenuAtItemIndex)(NSInteger index,NSString * _Nullable itemTitile);

@interface HWMJoinConfLimitCell : NSTableCellView

+ (instancetype)joinConfLimitCell:(NSTableView *)tableView ower:(id)ower;

/// 点击事件
@property (nonatomic, copy) HWMSelectMenuAtItemIndex selectMenuItemHandler;
/// 类型
/// 当前选中
@property (nonatomic, assign) NSInteger currentIndex;
/// tooltip 提示信息
@property (nonatomic, copy) NSString *tipMsg;
/// 标题
@property (nonatomic, copy) NSString *title;
/// 菜单选项
@property (nonatomic, copy, nullable) NSArray *menuTitles;
/// 菜单选项
@property (nonatomic, assign) BOOL enable;
@end

NS_ASSUME_NONNULL_END
