//
//  CustomLabelButton.h
//  OneCable
//
//  Created by Jason Lee on 1/7/16.
//  Copyright © 2016 ntels. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CustomButton;
@class CustomLabel;
@class CustomImageView;

IB_DESIGNABLE
@interface CustomLabelButton : UIView

@property (weak, nonatomic) IBOutlet CustomButton *btn;
@property (weak, nonatomic) IBOutlet CustomLabel *label;
@property (weak, nonatomic) IBOutlet CustomImageView *imgvMode;
@property (weak, nonatomic) IBOutlet CustomImageView *imgvCheck;
@property (weak, nonatomic) IBOutlet CustomImageView *imgvBtnBg;

@property (strong, nonatomic, nullable) IBInspectable UIColor *fillColor;

@property (strong, nonatomic, nullable) UIImage *image;
@property (strong, nonatomic, nullable) NSString *imageURL;
@property (strong, nonatomic, nullable) NSString *title;

@property (assign, nonatomic) BOOL enabled;

- (void)sd_setImageWithURL:(nonnull NSURL *)url forState:(UIControlState)state;

- (nullable NSArray<NSString *> *)actionsForTarget:(nullable id)target forControlEvent:(UIControlEvents)controlEvent;
- (void)addTarget:(nullable id)target action:(nonnull SEL)action forControlEvents:(UIControlEvents)controlEvents;
@end
