@react-navigation/elements
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -186,3 +186,3 @@ "use strict"; | ||
transform: [{ | ||
scaleX: _reactNative.I18nManager.isRTL ? -1 : 1 | ||
scaleX: _reactNative.I18nManager.getConstants().isRTL ? -1 : 1 | ||
}] | ||
@@ -196,3 +196,3 @@ }, | ||
transform: [{ | ||
scaleX: _reactNative.I18nManager.isRTL ? -1 : 1 | ||
scaleX: _reactNative.I18nManager.getConstants().isRTL ? -1 : 1 | ||
}] | ||
@@ -221,3 +221,3 @@ } | ||
transform: [{ | ||
scaleX: _reactNative.I18nManager.isRTL ? -1 : 1 | ||
scaleX: _reactNative.I18nManager.getConstants().isRTL ? -1 : 1 | ||
}] | ||
@@ -224,0 +224,0 @@ } |
@@ -167,3 +167,3 @@ import { useTheme } from '@react-navigation/native'; | ||
transform: [{ | ||
scaleX: I18nManager.isRTL ? -1 : 1 | ||
scaleX: I18nManager.getConstants().isRTL ? -1 : 1 | ||
}] | ||
@@ -177,3 +177,3 @@ }, | ||
transform: [{ | ||
scaleX: I18nManager.isRTL ? -1 : 1 | ||
scaleX: I18nManager.getConstants().isRTL ? -1 : 1 | ||
}] | ||
@@ -202,3 +202,3 @@ } | ||
transform: [{ | ||
scaleX: I18nManager.isRTL ? -1 : 1 | ||
scaleX: I18nManager.getConstants().isRTL ? -1 : 1 | ||
}] | ||
@@ -205,0 +205,0 @@ } |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
import type { HeaderOptions, Layout } from '../types'; | ||
@@ -2,0 +3,0 @@ declare type Props = HeaderOptions & { |
@@ -0,2 +1,3 @@ | ||
/// <reference types="react" /> | ||
import type { HeaderBackButtonProps } from '../types'; | ||
export default function HeaderBackButton({ disabled, allowFontScaling, backImage, label, labelStyle, labelVisible, onLabelLayout, onPress, pressColor, pressOpacity, screenLayout, tintColor: customTintColor, titleLayout, truncatedLabel, accessibilityLabel, testID, style, }: HeaderBackButtonProps): JSX.Element; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
import { Animated, StyleProp, TextProps, TextStyle } from 'react-native'; | ||
@@ -2,0 +3,0 @@ declare type Props = Omit<TextProps, 'style'> & { |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
import { StyleProp, TextStyle } from 'react-native'; | ||
@@ -2,0 +3,0 @@ declare type Props = { |
{ | ||
"name": "@react-navigation/elements", | ||
"description": "UI Components for React Navigation", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"keywords": [ | ||
@@ -36,3 +36,3 @@ "react-native", | ||
"scripts": { | ||
"prepare": "bob build", | ||
"prepack": "bob build", | ||
"clean": "del lib" | ||
@@ -42,3 +42,3 @@ }, | ||
"@react-native-masked-view/masked-view": "^0.2.4", | ||
"@react-navigation/native": "^6.0.11", | ||
"@react-navigation/native": "^6.0.12", | ||
"@testing-library/react-native": "^7.2.0", | ||
@@ -73,3 +73,3 @@ "@types/react": "^17.0.47", | ||
}, | ||
"gitHead": "f20e54feaa1f8e81d9e72042d18c046af537298e" | ||
"gitHead": "83aa392f1e13796d609c9df0afa44699ce4bacae" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
280062
3806
0