Adds codeDetails field to the private attributes

This commit is contained in:
Tessa Kelly 2021-05-14 14:25:02 -07:00
parent 20ae79d580
commit 1fe177af9d

View File

@ -499,6 +499,7 @@ type alias BannerConfig msg =
{ onDismiss : Maybe msg { onDismiss : Maybe msg
, role : Maybe Role , role : Maybe Role
, content : List (Html msg) , content : List (Html msg)
, codeDetails : Maybe String
, theme : Theme , theme : Theme
, size : Size , size : Size
, icon : Maybe Svg , icon : Maybe Svg
@ -515,6 +516,7 @@ configFromAttributes attr =
{ onDismiss = Nothing { onDismiss = Nothing
, role = Nothing , role = Nothing
, content = [] , content = []
, codeDetails = Nothing
, theme = Tip , theme = Tip
, size = Tiny , size = Tiny
, icon = Nothing , icon = Nothing