NoRedInk/noredink-ui/35.2.1

NOTE: the latest version is 35.9.3

Nri.Ui.Panel.V1

Create panels (AKA wells.)

Changelog

Patch changes

  • use internal Content module
  • adds paragraph
view : List (Attribute msg) -> Html msg

create a panel, given the options you specify

type Attribute msg

Content

paragraph : String -> Attribute msg

Provide a plain-text string that will be put into a paragraph tag, with the default margin removed.

plaintext : String -> Attribute msg

Use a plain-text string for the panel content.

markdown : String -> Attribute msg

Use a markdown string for the panel content.

html : List (Html msg) -> Attribute msg

Render panel content.

containerCss : List Style -> Attribute msg
headerCss : List Style -> Attribute msg
css : List Style -> Attribute msg

Theme

use the primary color theme (this is the default)

use the secondary color theme

Modules