Add a custom attribute to the examples

This commit is contained in:
Tessa Kelly 2019-07-11 15:25:00 -07:00
parent ccf793d5e1
commit 719d77b844

View File

@ -204,6 +204,7 @@ buttons messages model =
|> Button.withLabel model.label
|> model.width
|> model.state
|> Button.withCustomAttributes [ Html.Styled.Attributes.class "styleguide-button" ]
|> Button.href ""
|> Button.onClick (messages.showItWorked "Button clicked!")
|> (case model.buttonType of