mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-05 13:12:16 +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 ->
|
||||
largeDismissButton msg
|
||||
, case attributes.codeDetails of
|
||||
Just details ->
|
||||
viewCodeDetails details
|
||||
|
||||
Nothing ->
|
||||
text ""
|
||||
]
|
||||
|
||||
Banner ->
|
||||
@ -233,6 +239,12 @@ view attributes_ =
|
||||
|
||||
Just msg ->
|
||||
bannerDismissButton msg
|
||||
, case attributes.codeDetails of
|
||||
Just details ->
|
||||
viewCodeDetails details
|
||||
|
||||
Nothing ->
|
||||
text ""
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user