From 43c13c547ff7ca2f45312497e282477a6d73d390 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Fri, 14 Mar 2025 18:37:16 +0000 Subject: [PATCH] Update react-native deep imports for 0.79 compatibility --- js/RNCProgressBarAndroid.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;