mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-19 19:51:37 +03:00
Adds missing label and name code example
This commit is contained in:
parent
634e7b1109
commit
b832bd510c
@ -93,7 +93,9 @@ viewExamplesCode : SelectionSettings -> Maybe Selection -> Html Msg
|
||||
viewExamplesCode selectionSettings selectedValue =
|
||||
let
|
||||
toExampleCode ( kind, settings ) =
|
||||
"RadioButton.view\n\t[ "
|
||||
"RadioButton.view { label = "
|
||||
++ selectionToString kind
|
||||
++ ", name = \"pets\"}\n\t[ "
|
||||
++ String.join "\n\t, " (List.map Tuple.first settings)
|
||||
++ "\n\t] "
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user