mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
remove unused vars use gesture handler change callback name, pass selected text back do not use deprecate setTarget do not call super on methodSignatureForSelector twice add checks for custom menu items and callback make custom params optional add custom menu items outside of initWithFrame require key and label for menuItems fix typo
14 lines
419 B
Objective-C
14 lines
419 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTViewManager.h>
|
|
|
|
@interface RNCWebViewManager : RCTViewManager
|
|
@property (nonatomic, copy) NSArray<NSDictionary *> * _Nullable menuItems;
|
|
@property (nonatomic, copy) RCTDirectEventBlock onCustomMenuSelection;
|
|
@end
|