From b02a0a2ef48987e561bc292d3b2e98d6ad2bfb92 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Wed, 18 Aug 2021 19:34:37 +0200 Subject: splash screens, export note --- apps/Notes/components/Splash.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 apps/Notes/components/Splash.js (limited to 'apps/Notes/components/Splash.js') diff --git a/apps/Notes/components/Splash.js b/apps/Notes/components/Splash.js new file mode 100644 index 0000000..bc52e1b --- /dev/null +++ b/apps/Notes/components/Splash.js @@ -0,0 +1,13 @@ +import styles from '../Notes.module.scss' +import React from 'react' +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import { faBan, faSpinner } from '@fortawesome/free-solid-svg-icons' + +const Splash = ({type}) => ( +
+ +

{type === 'connection' ? 'No connection' : 'Loading...'}

+
+) + +export default Splash -- cgit v1.2.3