mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
pass useNativeDriver property
This commit is contained in:
8
types/react-native-modalbox/index.d.ts
vendored
8
types/react-native-modalbox/index.d.ts
vendored
@@ -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