Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't figure out how to convertToJSON #3

Open
stowball opened this issue Nov 4, 2017 · 1 comment
Open

Can't figure out how to convertToJSON #3

stowball opened this issue Nov 4, 2017 · 1 comment

Comments

@stowball
Copy link

stowball commented Nov 4, 2017

I'm sorry, I know GitHub issues aren't the place for implementation help requests, but I'm trying to convert react-native-svg components to JSON, but I just get {"type":"Unsupported","props":{"children":[]}}

I'm trying to convert the following:

<Svg
  height={170}
  viewBox="0 0 100 170"
  width={100}
>
  <Path d="M100 0H50v85l50-85z" fill="#000" />
  <Path d="M0 170h50V85L0 170z" fill="#fff" />
</Svg>

Any help would be greatly appreciated.

@PaulLeCam
Copy link
Contributor

Hi, sorry for the late reply, I haven't been focusing on this lib since it got implemented in our project.
Would you have a a more complete example of the code you're trying to execute please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants