|
@ -1,11 +1,8 @@ |
|
|
import React from 'react'; |
|
|
import React, { useEffect } from 'react'; |
|
|
import PropTypes from 'prop-types'; |
|
|
import PropTypes from 'prop-types'; |
|
|
|
|
|
|
|
|
import { Container, Progress } from 'semantic-ui-react'; |
|
|
import { Container, Progress } from 'semantic-ui-react'; |
|
|
|
|
|
|
|
|
// CSS |
|
|
|
|
|
import '../assets/css/loading-component.css'; |
|
|
|
|
|
|
|
|
|
|
|
// Images |
|
|
// Images |
|
|
import ethereumLogo from '../assets/images/ethereum_logo.svg'; |
|
|
import ethereumLogo from '../assets/images/ethereum_logo.svg'; |
|
|
import ipfsLogo from '../assets/images/ipfs_logo.svg'; |
|
|
import ipfsLogo from '../assets/images/ipfs_logo.svg'; |
|
@ -13,6 +10,10 @@ import orbitdbLogo from '../assets/images/orbitdb_logo.svg'; |
|
|
import appLogo from '../assets/images/app_logo.png'; |
|
|
import appLogo from '../assets/images/app_logo.png'; |
|
|
|
|
|
|
|
|
const LoadingComponent = (props) => { |
|
|
const LoadingComponent = (props) => { |
|
|
|
|
|
useEffect(() => function cleanup() { |
|
|
|
|
|
document.body.classList.add('app'); |
|
|
|
|
|
}, []); |
|
|
|
|
|
|
|
|
const { |
|
|
const { |
|
|
imageType, messageList, progressType, title, message, progress, |
|
|
imageType, messageList, progressType, title, message, progress, |
|
|
} = props; |
|
|
} = props; |
|
|