diff options
-rw-r--r-- | client/src/UI.elm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/UI.elm b/client/src/UI.elm index 28b73a8ae9fe..482c6ebe9dd8 100644 --- a/client/src/UI.elm +++ b/client/src/UI.elm @@ -124,6 +124,18 @@ simpleButton { label, handleClick } = } +disabledButton : + { label : String } + -> Html State.Msg +disabledButton { label } = + baseButton + { label = label + , enabled = False + , handleClick = State.DoNothing + , extraClasses = [] + } + + textButton : { label : String , handleClick : msg |