mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
18 lines
435 B
Objective-C
18 lines
435 B
Objective-C
#import "TGMenuSheetItemView.h"
|
|
|
|
typedef enum
|
|
{
|
|
TGMenuSheetButtonTypeDefault,
|
|
TGMenuSheetButtonTypeCancel,
|
|
TGMenuSheetButtonTypeDestructive,
|
|
TGMenuSheetButtonTypeSend
|
|
} TGMenuSheetButtonType;
|
|
|
|
@interface TGMenuSheetButtonItemView : TGMenuSheetItemView
|
|
|
|
@property (nonatomic, strong) NSString *title;
|
|
|
|
- (instancetype)initWithTitle:(NSString *)title type:(TGMenuSheetButtonType)type action:(void (^)(void))action;
|
|
|
|
@end
|