Skip to content

Conversation

@ingointo
Copy link

@ingointo ingointo commented Mar 1, 2024

Platforms affected

What does this PR do?

What testing has been done on this change?

Tested features checklist

Copy link
Author

@ingointo ingointo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes Requested:

  1. Carousel.js:

    • Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types.
  2. Pagination.js:

    • Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types.
  3. PaginationDot.js:

    • Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types.
  4. ParallaxImage.js:

    • Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types.

"author": "Meliorence <[email protected]> (github.com/meliorence)",
"license": "BSD-3-Clause",
"dependencies": {
"deprecated-react-native-prop-types": "^5.0.0",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added deprecated-react-native-prop-types to the dependencies in package.json with version ^5.0.0.

import React, { Component } from 'react';
import { Animated, Easing, FlatList, I18nManager, Platform, ScrollView, View, ViewPropTypes } from 'react-native';
import { Animated, Easing, FlatList, I18nManager, Platform, ScrollView, View } from 'react-native';
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types.

import React, { PureComponent } from 'react';
import { I18nManager, Platform, View, ViewPropTypes } from 'react-native';
import { I18nManager, Platform, View } from 'react-native';
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types.

import React, { PureComponent } from 'react';
import { View, Animated, Easing, TouchableOpacity, ViewPropTypes } from 'react-native';
import { View, Animated, Easing, TouchableOpacity } from 'react-native';
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types

import React, { Component } from 'react';
import { View, ViewPropTypes, Image, Animated, Easing, ActivityIndicator, findNodeHandle } from 'react-native';
import { View, Image, Animated, Easing, ActivityIndicator, findNodeHandle } from 'react-native';
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed ViewPropTypes import from react-native and added it from deprecated-react-native-prop-types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant