//
//  GSMenuItem.h
//  GlyphsKit
//
//  Created by Florian Pircher on 12.06.26.
//  Copyright © 2026 schriftgestaltung.de. All rights reserved.
//

#import <Cocoa/Cocoa.h>

NS_ASSUME_NONNULL_BEGIN

@interface GSMenuItem : NSMenuItem

@property (strong) void (^blockAction)(NSMenuItem *);

- (instancetype)initWithTitle:(NSString *)title blockAction:(void (^)(NSMenuItem *sender))blockAction;

- (instancetype)initWithBlockAction:(void (^)(NSMenuItem *sender))blockAction;

@end

NS_ASSUME_NONNULL_END
