//
//  YMHomeNavView.h
//  PCDBank
//
//  Created by Gusont on 2021/2/7.
//  Copyright © 2021 YMBank. All rights reserved.
//

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

typedef enum : NSInteger {
    YMNavBarAdd = 0,
    YMNavBarSearch = 1,
    YMNavBarQuit = 2,
} YMNavBarRightBtnIdx;

NS_ASSUME_NONNULL_BEGIN

@interface SLCustNavView : UIView

@property (nonatomic, copy) void (^rightBtnBlock)(YMNavBarRightBtnIdx idx);

@property (nonatomic, strong) UILabel *infoLabel;

@property (nonatomic, strong) LeftImageDesignTxtxField *searchTextField;

@property (nonatomic, strong) NSArray *details;

/// 导航栏配置
/// @param details <#details description#>
- (void)confignNavViewWith:(NSArray<SLPageModelDetail *> *)details;

@end

NS_ASSUME_NONNULL_END
