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.SegmentedControl.V6

type alias Config a msg =
{ onClick : a -> msg
, options : List (Option a)
, selected : a
, width : Width
}
type alias Icon =
{ alt : String
, icon : IconType
}
type alias Option a =
{ value : a
, icon : Maybe Icon
, label : String
, id : String
}
type Width
= FitContent
| FillContainer
view : Config a msg -> Html msg