hzdg / gsap-react-plugin

A GSAP plugin for tweening React.js component state.
Other
130 stars 8 forks source link

Additional usage instructions for importing files #10

Open Pau1fitz opened 7 years ago

Pau1fitz commented 7 years ago

In my html file i am pulling the gsap library from a CDN:

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script>

In my JSX file I am trying to import the plugin

import "gsap-react-plugin";

Would it be possible to explain what needs to be done to import the file?

lettertwo commented 7 years ago

Hi @Pau1fitz, I'm not sure I completely understand your question, but please have a look at the thread on #9, and let me know if that helps or not!