NoRedInk/noredink-ui/6.29.0

NOTE: the latest version is 35.9.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 6.29.0 found (15 same-name repos checked); no cached copy. Use another version.

Details

Nri.Ui.Alert.V4

Changes from V3:

  • Changes the error font color from purpleDark to purple
  • Adds somethingWentWrong error for displaying stacktraces

About:

UI components that highlight information to the user.

error : String -> Html msg

import Nri.Ui.Alert.V4 as Alert

view =
    Alert.error "Some **awesome** message!"
success : String -> Html msg

import Nri.Ui.Alert.V4 as Alert

view =
    Alert.success "Some **awesome** message!"
tip : String -> Html msg

import Nri.Ui.Alert.V4 as Alert

view =
    Alert.tip "Some **awesome** message!"
warning : String -> Html msg

import Nri.Ui.Alert.V4 as Alert

view =
    Alert.warning "Some **awesome** message!"
somethingWentWrong : String -> Html msg