//
//  GMToFaceCommonEmptyView.h
//  GMAILab
//
//  Created by 卢悦明 on 2020/5/9.
//

#import <UIKit/UIKit.h>
#import "GMLibraryHeader.h"

typedef NS_ENUM(NSInteger, GMToFaceCommonEmptyViewType) {
    GMToFaceCommonEmptyViewTypeEmpty,//无数据
    GMToFaceCommonEmptyViewTypeError//错误页面
};
@protocol GMToFaceCommonEmptyViewDelegate <NSObject>
- (void)emptyViewDidClickReload;
@end

@interface GMToFaceCommonEmptyView : UIView
/** 占位图 */
@property (nonatomic, strong) GMImageView *emptyImg;
/** 占位文字 */
@property (nonatomic, strong) GMLabel *emptyLabel;
/** 图片h宽高 */
@property (nonatomic, assign) CGSize emptyImgSize;

@property (nonatomic, assign) GMToFaceCommonEmptyViewType type;

@property (nonatomic, weak) id<GMToFaceCommonEmptyViewDelegate>delegate;

- (void)hide;
@end


