mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-24 07:09:03 +00:00
[change] Clipboard.isSupported -> Clipboard.isAvailable
Rename this method to be consistent with AppState.isAvailable
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
export default class Clipboard {
|
||||
static isSupported() {
|
||||
static isAvailable() {
|
||||
return (
|
||||
typeof document.queryCommandSupported === 'function' && document.queryCommandSupported('copy')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user