Skip to content

Commit 62e33d5

Browse files
committed
feat: populate rest styles from getSafeStyle
1 parent 84eef08 commit 62e33d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/validation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export function getSafeStyle(style?: ViewStyle) {
1818
const safeHeight = (isValidNumber(height) && height) || 0;
1919

2020
return {
21+
...style,
2122
width: safeWidth,
2223
height: safeHeight,
2324
};

0 commit comments

Comments
 (0)