//
//  KBMyHeaderView.h
//  keyBoard
//
//  顶部头部视图：标题 + 头像行 + 两张卡片
//  Masonry 约束，懒加载，中文注释

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface KBMyHeaderView : UIView
@property (nonatomic, strong, readonly) UILabel *titleLabel;      // “Settings” 标题
@property (nonatomic, strong, readonly) UIButton *keyboardBtn;    // 右上角“ My Keyboard ”按钮
@property (nonatomic, strong, readonly) UIImageView *avatarView;  // 头像
@property (nonatomic, strong, readonly) UILabel *nameLabel;       // 名称/提示
@property (nonatomic, strong, readonly) UIView *cardLeft;         // 左卡片
@property (nonatomic, strong, readonly) UIView *cardRight;        // 右卡片

/// 点击事件回调（由外部控制器设置）。
@property (nonatomic, copy) void (^onKeyboardTapped)(void);
@property (nonatomic, copy) void (^onAvatarTapped)(void);
@property (nonatomic, copy) void (^onLeftCardTapped)(void);
@property (nonatomic, copy) void (^onRightCardTapped)(void);
@end

NS_ASSUME_NONNULL_END
