Skip to content

How to style the svg component? #428

@henri-edinb

Description

@henri-edinb

Describe the solution you'd like
Arbitrary CSS style of the SVG component. For instance, setting the background-color or border. Currently, only width and height are possible, maybe we could set the full SVG style in the config?

Describe your use case
Want to set a background-color and border for the canvas and I'm able to do it in the browser by changing the style directly in the source code.

Describe alternatives you've considered
I might try and add this feature myself if you point me in the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions