1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGMenuSheetButtonItemView.h

18 lines
435 B
C
Raw Normal View History

2016-02-25 01:03:51 +01:00
#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