mbr/elm-extras/2.1.0

NOTE: the latest version is 3.1.0

Extras.Svg

Convenience functions for working with Svg.Svg

nothing : Svg msg

Empty element.

Useful if need to produce an SVG element that evaluates to nothing. Example:

let
    optionalContent =
        Just (g [] [ text "hello " ])
in
Maybe.withDefault nothing optionalContent