mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
v2: prepare to move
This commit is contained in:
parent
dc7ef96849
commit
45736200b0
172 changed files with 0 additions and 0 deletions
11
v2/lib/theme/Loading.js
Normal file
11
v2/lib/theme/Loading.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import React from 'react';
|
||||
|
||||
export default props => {
|
||||
if (props.error) {
|
||||
return <div align="center">Error 🔥🔥🔥</div>;
|
||||
}
|
||||
if (props.pastDelay) {
|
||||
return <div align="center">Loading...</div>;
|
||||
}
|
||||
return null;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue