mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Remove Modal animated prop (#57385)
Summary: Removes the deprecated `animated` prop from `Modal`. It was a no-op everywhere. Use `animationType` instead. See https://github.com/react/react-native/issues/57384 ## Changelog: [GENERAL] [REMOVED] - Remove deprecated `Modal` `animated` prop Pull Request resolved: https://github.com/react/react-native/pull/57385 Test Plan: - `yarn jest packages/react-native/Libraries/Modal` - `yarn flow` and `tsc` pass with the prop removed from `Modal.js` / `Modal.d.ts`. Reviewed By: huntie Differential Revision: D110205204 Pulled By: cortinico fbshipit-source-id: 8e5b4d7dc8811d7270de3776476e7f868eafddd5
This commit is contained in:
committed by
meta-codesync[bot]
parent
400c3e0f83
commit
fd10410d51
@@ -3350,7 +3350,6 @@ class facebook::react::ModalHostViewProps : public facebook::react::HostPlatform
|
||||
public ModalHostViewProps() = default;
|
||||
public ModalHostViewProps(const facebook::react::PropsParserContext& context, const facebook::react::ModalHostViewProps& sourceProps, const facebook::react::RawProps& rawProps);
|
||||
public bool allowSwipeDismissal;
|
||||
public bool animated;
|
||||
public bool hardwareAccelerated;
|
||||
public bool navigationBarTranslucent;
|
||||
public bool statusBarTranslucent;
|
||||
|
||||
@@ -3252,7 +3252,6 @@ class facebook::react::ModalHostViewProps : public facebook::react::HostPlatform
|
||||
public ModalHostViewProps() = default;
|
||||
public ModalHostViewProps(const facebook::react::PropsParserContext& context, const facebook::react::ModalHostViewProps& sourceProps, const facebook::react::RawProps& rawProps);
|
||||
public bool allowSwipeDismissal;
|
||||
public bool animated;
|
||||
public bool hardwareAccelerated;
|
||||
public bool navigationBarTranslucent;
|
||||
public bool statusBarTranslucent;
|
||||
|
||||
@@ -3347,7 +3347,6 @@ class facebook::react::ModalHostViewProps : public facebook::react::HostPlatform
|
||||
public ModalHostViewProps() = default;
|
||||
public ModalHostViewProps(const facebook::react::PropsParserContext& context, const facebook::react::ModalHostViewProps& sourceProps, const facebook::react::RawProps& rawProps);
|
||||
public bool allowSwipeDismissal;
|
||||
public bool animated;
|
||||
public bool hardwareAccelerated;
|
||||
public bool navigationBarTranslucent;
|
||||
public bool statusBarTranslucent;
|
||||
|
||||
@@ -5572,7 +5572,6 @@ class facebook::react::ModalHostViewProps : public facebook::react::HostPlatform
|
||||
public ModalHostViewProps() = default;
|
||||
public ModalHostViewProps(const facebook::react::PropsParserContext& context, const facebook::react::ModalHostViewProps& sourceProps, const facebook::react::RawProps& rawProps);
|
||||
public bool allowSwipeDismissal;
|
||||
public bool animated;
|
||||
public bool hardwareAccelerated;
|
||||
public bool navigationBarTranslucent;
|
||||
public bool statusBarTranslucent;
|
||||
|
||||
@@ -5496,7 +5496,6 @@ class facebook::react::ModalHostViewProps : public facebook::react::HostPlatform
|
||||
public ModalHostViewProps() = default;
|
||||
public ModalHostViewProps(const facebook::react::PropsParserContext& context, const facebook::react::ModalHostViewProps& sourceProps, const facebook::react::RawProps& rawProps);
|
||||
public bool allowSwipeDismissal;
|
||||
public bool animated;
|
||||
public bool hardwareAccelerated;
|
||||
public bool navigationBarTranslucent;
|
||||
public bool statusBarTranslucent;
|
||||
|
||||
@@ -5569,7 +5569,6 @@ class facebook::react::ModalHostViewProps : public facebook::react::HostPlatform
|
||||
public ModalHostViewProps() = default;
|
||||
public ModalHostViewProps(const facebook::react::PropsParserContext& context, const facebook::react::ModalHostViewProps& sourceProps, const facebook::react::RawProps& rawProps);
|
||||
public bool allowSwipeDismissal;
|
||||
public bool animated;
|
||||
public bool hardwareAccelerated;
|
||||
public bool navigationBarTranslucent;
|
||||
public bool statusBarTranslucent;
|
||||
|
||||
Reference in New Issue
Block a user