MCPcopy
hub / github.com/facebook/react / LoadingIndicator

Function LoadingIndicator

fixtures/ssr/src/components/App.js:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import Theme from './Theme';
7
8function LoadingIndicator() {
9 let theme = useContext(Theme);
10 return <div className={theme + '-loading'}>Loading...</div>;
11}
12
13function Content() {
14 let [CurrentPage, switchPage] = useState(() => Page);

Callers

nothing calls this directly

Calls 1

useContextFunction · 0.90

Tested by

no test coverage detected