NoRedInk/noredink-ui/9.8.0

NOTE: the latest version is 35.9.3

Nri.Ui.SlideModal.V2

type alias Config msg =
{ panels : List Panel
, height : Px
, parentMsg : State -> msg
}
type alias Panel =
{ icon : Html Never
, title : String
, content : Html Never
, buttonLabel : String
}

Configuration for a single modal view in the sequence of modal views.

type State

Close the modal.

Create the open state for the modal (the first panel will show).

view : Config msg -> State -> Html msg

View the modal (includes the modal backdrop).