MCPcopy Create free account
hub / github.com/github/docs / ShowNothing

Function ShowNothing

components/search/Loading.tsx:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29function ShowNothing() {
30 return (
31 // The min heigh is based on inspecting what the height became when it
32 // does render. Making this match makes the footer to not flicker
33 // up or down when it goes from showing nothing to something.
34 <div className="my-12" style={{ minHeight: 105 }}>
35 {/* Deliberately empty */}
36 </div>
37 )
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected