MCPcopy Create free account
hub / github.com/react-component/select / Loading

Function Loading

docs/examples/scroll-loading.tsx:12–18  ·  view source on GitHub ↗
({ onLoad })

Source from the content-addressed store, hash-verified

10}
11
12const Loading = ({ onLoad }) => {
13 React.useEffect(() => {
14 setTimeout(onLoad, 1000);
15 }, []);
16
17 return <div>Loading...</div>;
18};
19
20export default () => {
21 const [options, setOptions] = React.useState(() => genData(10));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…