mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-08 09:13:02 +08:00
@@ -217,7 +217,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
||||
>
|
||||
<Text
|
||||
accessibilityTraits="header"
|
||||
allowFontScaling={true}
|
||||
allowFontScaling={false}
|
||||
numberOfLines={1}
|
||||
onLayout={[Function]}
|
||||
style={
|
||||
@@ -320,7 +320,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
||||
>
|
||||
<Text
|
||||
accessibilityTraits="header"
|
||||
allowFontScaling={true}
|
||||
allowFontScaling={false}
|
||||
numberOfLines={1}
|
||||
onLayout={[Function]}
|
||||
style={
|
||||
|
||||
@@ -150,7 +150,7 @@ exports[`StackNavigator applies correct values when headerRight is present 1`] =
|
||||
>
|
||||
<Text
|
||||
accessibilityTraits="header"
|
||||
allowFontScaling={true}
|
||||
allowFontScaling={false}
|
||||
numberOfLines={1}
|
||||
onLayout={[Function]}
|
||||
style={
|
||||
@@ -343,7 +343,7 @@ exports[`StackNavigator renders successfully 1`] = `
|
||||
>
|
||||
<Text
|
||||
accessibilityTraits="header"
|
||||
allowFontScaling={true}
|
||||
allowFontScaling={false}
|
||||
numberOfLines={1}
|
||||
onLayout={[Function]}
|
||||
style={
|
||||
|
||||
@@ -45,7 +45,10 @@ export default class BorderlessButton extends React.Component {
|
||||
<AnimatedBaseButton
|
||||
{...rest}
|
||||
onActiveStateChange={this._onActiveStateChange}
|
||||
style={[style, Platform.OS === 'ios' && enabled && { opacity: this._opacity }]}
|
||||
style={[
|
||||
style,
|
||||
Platform.OS === 'ios' && enabled && { opacity: this._opacity },
|
||||
]}
|
||||
>
|
||||
{children}
|
||||
</AnimatedBaseButton>
|
||||
|
||||
@@ -205,7 +205,7 @@ function forFade(props) {
|
||||
};
|
||||
}
|
||||
|
||||
function forNoAnimation(props) {
|
||||
function forNoAnimation() {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user