//
//  ICDatePickerView.h
//  superCleaner
//
//  Created by Mazy on 2020/7/5.
//  Copyright © 2020 Mazy. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ICDatePickerView : UIView

@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@property (weak, nonatomic) IBOutlet UIButton *commitButton;
@property (weak, nonatomic) IBOutlet UILabel *datePickerTitleLabel;

@property (weak, nonatomic) IBOutlet UIDatePicker *datePickerView;

@property (weak, nonatomic) IBOutlet UIView *dateContentView;

@property (nonatomic, strong) NSDate *selectedDate;

@property (nonatomic, copy) void(^commitTrackDateClosre)(NSDate*);

- (void)showWithDate: (NSDate *)date;

- (void)dismiss;


@end

NS_ASSUME_NONNULL_END
