Skip to content

Commit

Permalink
jun review
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Sep 20, 2023
1 parent 1ff097d commit b22eebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-joy/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ export const getButtonStyles = ({
},
'&:active, &[aria-pressed="true"]':
theme.variants[`${ownerState.variant!}Active`]?.[ownerState.color!],
...(ownerState.disabled &&
theme.variants[`${ownerState.variant!}Disabled`]?.[ownerState.color!]),
[`&:${buttonClasses.disabled}`]:
theme.variants[`${ownerState.variant!}Disabled`]?.[ownerState.color!],
...(ownerState.loadingPosition === 'center' && {
// this has to come after the variant styles to take effect.
[`&.${buttonClasses.loading}`]: {
Expand Down

0 comments on commit b22eebf

Please sign in to comment.