We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c178cd commit 3a00993Copy full SHA for 3a00993
src/Lumi/Components/Button.purs
@@ -75,7 +75,11 @@ button = makeStateless component render
75
Enabled -> false
76
Disabled -> false
77
Loading -> true
78
- , onClick: props.onPress
+ , onClick:
79
+ case props.buttonState of
80
+ Enabled -> props.onPress
81
+ Disabled -> mkEffectFn1 mempty
82
+ Loading -> mkEffectFn1 mempty
83
, style: props.style
84
, type: props.type
85
}
0 commit comments