MCPcopy
hub / github.com/pmndrs/react-spring / App

Function App

demo/src/sandboxes/trail/src/App.tsx:26–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26export default function App() {
27 const [open, set] = useState(true)
28 return (
29 <div className={styles.container} onClick={() => set(state => !state)}>
30 <Trail open={open}>
31 <span>Lorem</span>
32 <span>Ipsum</span>
33 <span>Dolor</span>
34 <span>Sit</span>
35 </Trail>
36 </div>
37 )
38}

Callers

nothing calls this directly

Calls 1

setFunction · 0.85

Tested by

no test coverage detected