NoRedInk / noredink-ui / Nri.Ui.HighlighterToolbar.V3

Bar with markers for choosing how text will be highlighted in a highlighter.

view : { onSelect : Maybe tag -> msg, getNameAndColor : tag -> { extras | name : String, colorSolid : Css.Color, colorLight : Css.Color }, highlighterId : String } -> { model | currentTool : Maybe tag, tags : List tag } -> Html.Styled.Html msg

View renders each marker and an eraser. This is exclusively used with an interactive Highlighter, whose id you should pass in when initializing the HighlighterToolbar.

Changes from V2:

Patch changes:

Changes from V1: