You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
420 B
21 lines
420 B
6 years ago
|
import React from 'react';
|
||
|
import styles from './LoadingMessage.css';
|
||
|
|
||
|
const messages = [
|
||
|
'Welcome to Radarr Aphrodite Preview. Enjoy'
|
||
|
// TODO Add some messages here
|
||
|
];
|
||
|
|
||
|
function LoadingMessage() {
|
||
|
const index = Math.floor(Math.random() * messages.length);
|
||
|
const message = messages[index];
|
||
|
|
||
|
return (
|
||
|
<div className={styles.loadingMessage}>
|
||
|
{message}
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default LoadingMessage;
|