mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2fb102b601
Summary: Closes issue https://github.com/facebook/react-native/issues/31605. This is part of a bigger issue that plans to remove defaultProps from class components in order to provide a smoother transition to functional components. ## Changelog [General] [Changed] - Remove defaultProps from the DatePickerIOS Component. [General] [Test] - Added snapshot test for the new component Pull Request resolved: https://github.com/facebook/react-native/pull/32064 Test Plan: Compiled the rn-tester folder to check if the behavior is consistent with the previous versions. Reviewed By: lunaleaps Differential Revision: D30492515 Pulled By: yungsters fbshipit-source-id: ed2c5f3211742d528ff3f8e406a53cd7ea43d7e7