update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b third try
[osm/UI.git] / skyquake / plugins / admin / src / components / LoadingColumn.jsx
diff --git a/skyquake/plugins/admin/src/components/LoadingColumn.jsx b/skyquake/plugins/admin/src/components/LoadingColumn.jsx
new file mode 100644 (file)
index 0000000..a97e9b4
--- /dev/null
@@ -0,0 +1,21 @@
+import React from 'react'
+import ExplorerColumn from './ExplorerColumn'
+
+export default class extends React.Component {
+
+    render() {
+        try {
+            const { model, path, isLast, openElement } = this.props;
+            console.debug(`LoadingColumn: ${path.join()}`);
+            return (
+                <ExplorerColumn title={name || path} isLast={isLast} >
+                    <div className='loading-column'>
+                        <h3>Loading</h3>
+                    </div>
+                </ExplorerColumn>
+            )
+        } catch (e) {
+            console.error("component render", e);
+        }
+    }
+}