react-native-modalize
react-native-modalize copied to clipboard
2.1.0: 'Modalize' only refers to a type, but is being used as a value here.
import { Modalize } from 'react-native-modalize';
Component() {
return <Modalize /> <-- 'Modalize' only refers to a type, but is being used as a value here.
}
coming from this change https://github.com/jeremybarbet/react-native-modalize/pull/441/files#diff-0b5adbfe7b36e4ae2f479291e20152e33e940f7f265162d77f40f6bdb5da7405R1004-R1005 but not sure what's wrong in there
should be fixed in 2.1.1