-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Closed
Copy link
Labels
Platform: iOSiOS applications.iOS applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Environment
OS: macOS High Sierra 10.13.6
Node: 7.6.0
Yarn: 1.7.0
npm: 4.1.2
Watchman: 3.3.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.1.1 => 16.5.2
react-native: ^0.50.4 => 0.50.4
Description
In a custom component, propsType is used for specifying the props type of the component. No error was reported in the debug environment, but after release was packaged, it broke.
Code below
...
someComponent.propTypes = {
containerStyle: View.propTypes.style,
...
}
someComponent.defaultProps = {
containerStyle: null,
...
}
...
Metadata
Metadata
Assignees
Labels
Platform: iOSiOS applications.iOS applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.