mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
18 lines
435 B
C
18 lines
435 B
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
|