react-native-popup-menu
Advanced tools
Comparing version 0.13.0 to 0.13.1
{ | ||
"name": "react-native-popup-menu", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "extensible popup/context menu for react native", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -19,4 +19,4 @@ import React, { Component, createContext } from 'react'; | ||
if (!createContext) { | ||
console.warn('New React context API not available - are you using RN 0.55+ ?') | ||
if (!React.forwardRef) { | ||
throw new Error('This version of popup-menu requires RN 0.55+. Check our compatibility table.') | ||
} | ||
@@ -23,0 +23,0 @@ export const PopupMenuContext = createContext({}) |
323104
30