hi,i using gsap3 in create-react-app But ,I hava some problems;
I don't know why ' drawSvg ' not working;
I 'import DrawSVGPlugin from "gsap/all" and register it,but console has warning
import DrawSVGPlugin from "gsap/all";
useEffect(() => {
gsap.registerPlugin(DrawSVGPlugin);
console.log("drawSVG");
let t1 = gsap.context(() => {
gsap.from('#Line1',{
drawSVG:"0%",
duration:3
}
)
});
return () => t1.revert();
}, []);