//
//  NSButton+HWMExtension.h
//  HWMUISDKNativeDemo
//
//  Created by guomeng on 2020/10/26.
//  Copyright © 2020 Huawei Technologies Co. Ltd. All rights reserved.
//

#import <Cocoa/Cocoa.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSButton (HWMExtension)

+ (instancetype)buttonWithTitle:(NSString * _Nullable)title
                           font:(NSFont * _Nullable)font
                      fontColor:(NSColor * _Nullable)color
                         target:(id)target
                         action:(SEL)action;

+ (instancetype)buttonWithTitle:(NSString *)title target:(id)target action:(SEL)action stateValueOn:(BOOL)state;

@end

NS_ASSUME_NONNULL_END
