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