We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b70ec4 commit 21a7d48Copy full SHA for 21a7d48
packages/docz/src/plugins/GSAP.mdx
@@ -24,6 +24,9 @@ To use them with `react-gsap` you first have to register them.
24
import { gsap } from 'gsap';
25
import { TextPlugin } from 'gsap/TextPlugin';
26
27
+ # if your build step doesn't transpile inside node_modules you can try this import:
28
+ import { TextPlugin } from 'gsap/dist/TextPlugin';
29
+
30
gsap.registerPlugin(TextPlugin);
31
32
### And use it:
0 commit comments