-> { model | currentTool :Maybe tag, tags :List tag }
-> 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:
Use radio inputs under the hood
don't arbitrarily complicate API -- match the usecases on the monolith side
Patch changes:
Ensure selected tool is clear in high contrast mode
Remove focus rings from the tools on click
Use safeId to generate valid HTML ids
Changes from V1:
replaces onChangeTag and onSetEraser with onSelect.
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.