Skip to content

Commit

Permalink
Update src/styles/utils/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martins <[email protected]>
  • Loading branch information
MuaazArshad and luacmartins authored Nov 8, 2024
1 parent 638f6bb commit 0104fc6
Showing 1 changed file 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
Expand Up @@ -1120,8 +1120,8 @@ function getAmountWidth(amount: string): number {
}

/**
* When the item is selected and disabled, We want selected item styles.
* When the item is focused and disabled, We want disabled item styles.
* When the item is selected and disabled, we want selected item styles.
* When the item is focused and disabled, we want disabled item styles.
* Single true value will give result accordingly.
*/
function getItemBackgroundColorStyle(isSelected: boolean, isFocused: boolean, isDisabled: boolean, selectedBG: string, focusedBG: string): ViewStyle {
Expand Down

0 comments on commit 0104fc6

Please sign in to comment.