danilowoz / danilowoz/react-content-loader

An SVG can't be converted

Open
#307 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14k
Forks
421
PR merge metrics
No merged PRs in 30d

Description

## What did you do?
I've pasted the following SVG into the editor:
``

## What did you expect to happen?
To convert into a proper content-loader.

## What happened actually?
The conversion happens but the preview doesn't show anything and got these errors in the developer console:

- Error: attribute d: Expected arc flag ('0' or '1'), "…M 4 12 a 8 8 0 18 -8 h 184 a 8 8…".
- Error: attribute d: Expected number, "… 7 0 1114 0 7 7 a 0 11 -14 0 z M…".

### Which versions of react-content-loader, and which browser are affected by this issue?
6.0.3 is the version of the react-content-loader. I'm using angular and there I've also got the above mentioned issues when pasted into my code. I'm using chrome (111.0.5563.147) on Windows 10 and on Ubuntu but it also happens in Firefox on Windows (it shows the basic rectangle but not the details inside). Also I'd like to mention that I've exported this SVG from a Figma document ([Figma](https://www.figma.com/))

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.