Skip to content

add support for svg components #299

Description

@alighafoorzade

To enable maintainability and customizable SVGs, some projects opt to create a dedicated component for each icon and encapsulate the SVG code within. A sample code snippet for this approach is shown below:
const AvatarIcon = () => { return <svg> <path>...<path> . . . </svg> }
Are there any workarounds or techniques to optimize these assets? If not, I believe it would be valuable to explore potential optimizations. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions