Add extra isDisabled style for button

This commit is contained in:
Valtteri Karesto
2022-03-29 16:52:24 +03:00
parent 51f7bd509b
commit d2addf782e

View File

@@ -171,6 +171,16 @@ export const StyledButton = styled("button", {
color: "$textMuted",
},
},
isDisabled: {
true: {
opacity: 0.6,
// pointerEvents: "none",
cursor: "auto",
"&:hover": {
boxShadow: "inherit",
},
},
},
outline: {
true: {
backgroundColor: "transparent",