Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update url of warning message from deprecated imports #28452

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports = {
'DatePickerIOS-merged',
'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-datetimepicker',
'See https://github.com/react-native-community/datetimepicker',
);
return require('./Libraries/Components/DatePicker/DatePickerIOS');
},
Expand Down Expand Up @@ -195,7 +195,7 @@ module.exports = {
'progress-bar-android-moved',
'ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-progress-bar-android',
'See https://github.com/react-native-community/progress-bar-android',
);
return require('./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid');
},
Expand All @@ -204,7 +204,7 @@ module.exports = {
'progress-view-ios-moved',
'ProgressViewIOS has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/progress-view' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-progress-view',
'See https://github.com/react-native-community/progress-view',
);
return require('./Libraries/Components/ProgressViewIOS/ProgressViewIOS');
},
Expand All @@ -222,7 +222,7 @@ module.exports = {
'segmented-control-ios-moved',
'SegmentedControlIOS has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/segmented-control' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-segmented-control',
'See https://github.com/react-native-community/segmented-control',
);
return require('./Libraries/Components/SegmentedControlIOS/SegmentedControlIOS');
},
Expand Down Expand Up @@ -299,7 +299,7 @@ module.exports = {
'async-storage-moved',
'AsyncStorage has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-async-storage',
'See https://github.com/react-native-community/async-storage',
);
return require('./Libraries/Storage/AsyncStorage');
},
Expand All @@ -311,7 +311,7 @@ module.exports = {
'clipboard-moved',
'Clipboard has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/clipboard' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-clipboard',
'See https://github.com/react-native-community/clipboard',
);
return require('./Libraries/Components/Clipboard/Clipboard');
},
Expand All @@ -320,7 +320,7 @@ module.exports = {
'DatePickerAndroid-merged',
'DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-datetimepicker',
'See https://github.com/react-native-community/datetimepicker',
);
return require('./Libraries/Components/DatePickerAndroid/DatePickerAndroid');
},
Expand Down Expand Up @@ -391,7 +391,7 @@ module.exports = {
'pushNotificationIOS-moved',
'PushNotificationIOS has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-push-notification-ios',
'See https://github.com/react-native-community/push-notification-ios',
);
return require('./Libraries/PushNotificationIOS/PushNotificationIOS');
},
Expand Down Expand Up @@ -515,7 +515,7 @@ if (__DEV__) {
false,
'ART has been removed from React Native. ' +
"It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-art',
'See https://github.com/react-native-community/art',
);
},
});
Expand Down Expand Up @@ -620,7 +620,7 @@ if (__DEV__) {
false,
'TimePickerAndroid has been removed from React Native. ' +
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
'See https://github.com/react-native-community/react-native-datetimepicker',
'See https://github.com/react-native-community/datetimepicker',
);
},
});
Expand Down