MCPcopy Create free account
hub / github.com/electric-sql/electric / LoadingScreen

Function LoadingScreen

examples/linearlite/src/App.tsx:158–167  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

156])
157
158const LoadingScreen = ({ children }: { children: React.ReactNode }) => {
159 return (
160 <div className="h-screen w-screen flex flex-col items-center justify-center gap-4">
161 <ImSpinner8 className="w-8 h-8 animate-spin text-blue-500" />
162 <div className="text-gray-600 text-center" style={{ minHeight: `100px` }}>
163 {children}
164 </div>
165 </div>
166 )
167}
168
169const App = () => {
170 const [showMenu, setShowMenu] = useState(false)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected