mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-07 06:56:53 +03:00
Add naive implementation of the details for the Large and Banner messages
This commit is contained in:
parent
8e3b69ca45
commit
3302dcd930
@ -182,6 +182,12 @@ view attributes_ =
|
|||||||
|
|
||||||
Just msg ->
|
Just msg ->
|
||||||
largeDismissButton msg
|
largeDismissButton msg
|
||||||
|
, case attributes.codeDetails of
|
||||||
|
Just details ->
|
||||||
|
viewCodeDetails details
|
||||||
|
|
||||||
|
Nothing ->
|
||||||
|
text ""
|
||||||
]
|
]
|
||||||
|
|
||||||
Banner ->
|
Banner ->
|
||||||
@ -233,6 +239,12 @@ view attributes_ =
|
|||||||
|
|
||||||
Just msg ->
|
Just msg ->
|
||||||
bannerDismissButton msg
|
bannerDismissButton msg
|
||||||
|
, case attributes.codeDetails of
|
||||||
|
Just details ->
|
||||||
|
viewCodeDetails details
|
||||||
|
|
||||||
|
Nothing ->
|
||||||
|
text ""
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user