//
//  SurfaceSearchView.h
//  TheoryNetwork
//
//  Created by tederen on 2019/9/20.
//  Copyright © 2019 tederen. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^TouchBlock)(void);

@protocol SurfaceSearchViewDelegate <NSObject>

- (void)searchViewBackAction;

- (void)searchViewMenuAction;

- (void)searchViewBookAction;
@end

@interface SurfaceSearchView : UIView

@property (nonatomic, copy) TouchBlock buttonBlock;
@property (nonatomic, copy) void(^bookBlock)(void);
@property (nonatomic, weak) id<SurfaceSearchViewDelegate> delegate;

- (void)setBgViewColor:(UIColor *)color;

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

- (void)showLineView;

- (void)setLeftBackType;

- (void)setRightMenuType;

- (void)setMainType;

@end

NS_ASSUME_NONNULL_END