Skip to content

Commit

Permalink
Merge pull request Expensify#32558 from pasyukevich/feature/migrate-A…
Browse files Browse the repository at this point in the history
…nimatedEmptyStateBackground

[TS migration] Migrate 'AnimatedEmptyStateBackground.js' component to TypeScript
  • Loading branch information
bondydaa authored Dec 20, 2023
2 parents 348e8ae + b9bf599 commit 78ae57d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Animated, DimensionValue, PressableStateCallbackType, StyleProp, StyleSheet, TextStyle, ViewStyle} from 'react-native';
import {Animated, DimensionValue, ImageStyle, PressableStateCallbackType, StyleProp, StyleSheet, TextStyle, ViewStyle} from 'react-native';
import {EdgeInsets} from 'react-native-safe-area-context';
import {ValueOf} from 'type-fest';
import * as Browser from '@libs/Browser';
Expand Down Expand Up @@ -701,7 +701,7 @@ function getHorizontalStackedOverlayAvatarStyle(oneAvatarSize: AvatarSize, oneAv
/**
* Gets the correct size for the empty state background image based on screen dimensions
*/
function getReportWelcomeBackgroundImageStyle(isSmallScreenWidth: boolean, isMoneyReport = false): ViewStyle {
function getReportWelcomeBackgroundImageStyle(isSmallScreenWidth: boolean, isMoneyReport = false): ImageStyle {
const emptyStateBackground = isMoneyReport ? CONST.EMPTY_STATE_BACKGROUND.MONEY_REPORT : CONST.EMPTY_STATE_BACKGROUND;

if (isSmallScreenWidth) {
Expand Down

0 comments on commit 78ae57d

Please sign in to comment.