Skip to content

Commit b42f43c

Browse files
Merge branch 'main' into moo-1800/update-dependencies
2 parents 2cbf9f6 + 47a1052 commit b42f43c

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

configs/e2e/mendix-versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"latest": "10.21.0.64362",
2+
"latest": "10.21.1.64969",
33
"8": "8.18.23.62193"
44
}

packages/jsActions/nanoflow-actions-native/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- We've updated the minimum Mendix version to 10.21.
12+
913
## [5.1.0] Nanoflow Commons - 2025-3-26
14+
1015
### Fixed
1116

1217
- We've updated @react-native-community/geolocation to version 3.4.0 to resolve location-related issues.

packages/pluggableWidgets/intro-screen-native/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- We have fixed defaultProps deprecation warning.
12+
913
## [4.0.0] - 2024-12-3
1014

1115
- Updated react-native-device-info to latest version.

packages/pluggableWidgets/intro-screen-native/src/SwipeableContainer.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,12 @@ export const SwipeableContainer = (props: SwipeableContainerProps): ReactElement
165165
[props]
166166
);
167167

168-
const renderNextButton = ({ showNextButton, nextLabel, nextIcon, styles }: SwipeableContainerProps): ReactNode =>
168+
const renderNextButton = ({
169+
showNextButton = true,
170+
nextLabel,
171+
nextIcon,
172+
styles
173+
}: SwipeableContainerProps): ReactNode =>
169174
showNextButton &&
170175
renderButton(
171176
nextLabel,
@@ -193,7 +198,7 @@ export const SwipeableContainer = (props: SwipeableContainerProps): ReactElement
193198
);
194199

195200
const renderDoneButton = ({
196-
showDoneButton,
201+
showDoneButton = true,
197202
doneLabel,
198203
doneIcon,
199204
onDone,
@@ -328,11 +333,6 @@ export const SwipeableContainer = (props: SwipeableContainerProps): ReactElement
328333
);
329334
};
330335

331-
SwipeableContainer.defaultProps = {
332-
showDoneButton: true,
333-
showNextButton: true
334-
};
335-
336336
const styles = StyleSheet.create({
337337
flexOne: {
338338
flex: 1

0 commit comments

Comments
 (0)