Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SyntaxUI/syntaxui
/ reset
Function
reset
src/showcase/components/button/MagneticButton.tsx:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
};
24
25
const reset = () => {
26
setPosition({ x: 0, y: 0 });
27
};
28
29
const { x, y } = position;
30
return (
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected