mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #32989 from Gapur/change-modalbox-props
pass useNativeDriver property
This commit is contained in:
+8
@@ -147,6 +147,14 @@ export interface ModalProps {
|
||||
*/
|
||||
style?: StyleProp<ViewStyle>;
|
||||
|
||||
/**
|
||||
* Enables the hardware acceleration to animate the modal. Please note that enabling this can cause some flashes in a weird way when animating
|
||||
*
|
||||
* Default is true
|
||||
*
|
||||
*/
|
||||
useNativeDriver?: boolean;
|
||||
|
||||
/**
|
||||
* Event fired when the modal is closed and the animation is complete
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user