MOSendRedPacketView.h 485 B

123456789101112131415161718192021222324252627
  1. //
  2. // MOSendRedPacketView.h
  3. // MiMoLive
  4. //
  5. // Created by SuperC on 2024/6/12.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef void(^MOSendRedPacketViewDismissBlock)(void);
  10. @interface MOSendRedPacketView : UIView
  11. @property (nonatomic, copy) NSString *roomId;
  12. @property (nonatomic, copy) MOSendRedPacketViewDismissBlock dismissBlock;
  13. + (instancetype)moSendRedPacketView;
  14. - (void)showSendRedPacketView;
  15. - (void)dismissSendRedPacketView;
  16. @end
  17. NS_ASSUME_NONNULL_END