diff --git a/js/RNCProgressBarAndroid.js b/js/RNCProgressBarAndroid.js index 661631b..6f87ea8 100644 --- a/js/RNCProgressBarAndroid.js +++ b/js/RNCProgressBarAndroid.js @@ -8,4 +8,8 @@ 'use strict'; -module.exports = require('react-native/Libraries/Components/UnimplementedViews/UnimplementedView'); +const UnimplementedViewModule = require('react-native/Libraries/Components/UnimplementedViews/UnimplementedView'); +const UnimplementedView = + UnimplementedViewModule.default ?? UnimplementedViewModule; + +module.exports = UnimplementedView;