mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 10:17:49 +03:00
Add a custom attribute to the examples
This commit is contained in:
parent
ccf793d5e1
commit
719d77b844
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user