Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
narefyev91 committed Mar 13, 2024
1 parent 55174fe commit 11cb857
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/styles/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,15 @@ function getIconWidthAndHeightStyle(small: boolean, medium: boolean, large: bool
}
}

function getButtonStyleWithIcon(styles: ThemeStyles, small: boolean, medium: boolean, large: boolean, hasIcon?: boolean, hasText?: boolean, shouldShowRightIcon?: boolean): ViewStyle | undefined {
function getButtonStyleWithIcon(
styles: ThemeStyles,
small: boolean,
medium: boolean,
large: boolean,
hasIcon?: boolean,
hasText?: boolean,
shouldShowRightIcon?: boolean,
): ViewStyle | undefined {
const useDefaultButtonStyles = Boolean(hasIcon && shouldShowRightIcon) || Boolean(!hasIcon && !shouldShowRightIcon);
switch (true) {
case small: {
Expand Down

0 comments on commit 11cb857

Please sign in to comment.