Skip to content

Commit 3261523

Browse files
committed
Update Incubator.TouchableOpacity screen with antoher example
1 parent 4e8a701 commit 3261523

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

demo/src/screens/incubatorScreens/TouchableOpacityScreen.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,20 @@ class TouchableOpacityScreen extends Component {
8383
>
8484
<Text white>TouchableOpacity2</Text>
8585
</Incubator.TouchableOpacity2>
86+
<Incubator.TouchableOpacity2
87+
marginT-20
88+
paddingH-20
89+
paddingV-8
90+
br100
91+
center
92+
onPress={this.onPress}
93+
backgroundColor={Colors.orange30}
94+
feedbackColor={Colors.yellow20}
95+
activeOpacity={1}
96+
activeScale={0.98}
97+
>
98+
<Text white>TouchableOpacity2 (without LongPress)</Text>
99+
</Incubator.TouchableOpacity2>
86100
{this.renderRNTouchableExample()}
87101
</View>
88102
);

generatedTypes/components/tabController/TabBarItem.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default class TabBarItem extends PureComponent<Props> {
117117
onLayout: (event: LayoutChangeEvent) => void;
118118
onPress: () => void;
119119
getItemStyle(): any[];
120-
getLabelStyle(): (TextStyle | _.Dictionary<Reanimated.Node<number> | Reanimated.Node<string | number | boolean> | Reanimated.Node<"normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"> | undefined> | undefined)[];
120+
getLabelStyle(): (TextStyle | _.Dictionary<Reanimated.Node<number> | Reanimated.Node<string | number> | Reanimated.Node<string | number | boolean> | Reanimated.Node<"normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"> | undefined> | undefined)[];
121121
getIconStyle(): {
122122
tintColor: Reanimated.Node<string>;
123123
} | undefined;

0 commit comments

Comments
 (0)