//
//  KBLoginSheetViewController.h
//  keyBoard
//
//  A lightweight bottom-sheet style login prompt.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface KBLoginSheetViewController : UIViewController

/// Called when the login finished successfully; sheet will dismiss itself as well.
@property (nonatomic, copy, nullable) void (^onLoginSuccess)(void);

/// Present the sheet from a top most view controller.
+ (void)presentIfNeededFrom:(UIViewController *)presenting;

@end

NS_ASSUME_NONNULL_END

