MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / handleAnimationEnd

Function handleAnimationEnd

apps/start/src/hooks/use-dashed-stroke.tsx:189–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187 const [calcStrokeDasharray, strokes] = useStrokeDasharray(options);
188 const [strokeDasharray, setStrokeDasharray] = useState([...strokes]);
189 const handleAnimationEnd = () => setStrokeDasharray([...strokes]);
190 const getStrokeDasharray = (name: string) => {
191 return strokeDasharray.find((s) => s?.name === name)?.strokeDasharray;
192 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected