-
- {intl => [
- ,
- ,
- ,
- ]}
-
+
+
+
+ {intl => [
+ ,
+ ,
+ ,
+ ]}
+
+
);
}
diff --git a/src/lib/viewers/archive/ArchiveExplorer.scss b/src/lib/viewers/archive/ArchiveExplorer.scss
new file mode 100644
index 000000000..8eaac2ed4
--- /dev/null
+++ b/src/lib/viewers/archive/ArchiveExplorer.scss
@@ -0,0 +1,6 @@
+.bp-ArchiveExplorer {
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ height: 100%;
+}
diff --git a/src/lib/viewers/archive/Breadcrumbs.js b/src/lib/viewers/archive/Breadcrumbs.js
new file mode 100644
index 000000000..724fe2436
--- /dev/null
+++ b/src/lib/viewers/archive/Breadcrumbs.js
@@ -0,0 +1,58 @@
+import React from 'react';
+import PropTypes from 'prop-types';
+import Breadcrumb from 'box-ui-elements/es/components/breadcrumb';
+import PlainButton from 'box-ui-elements/es/components/plain-button/PlainButton';
+import { VIEWS } from './constants';
+import './Breadcrumbs.scss';
+
+class Breadcrumbs extends React.PureComponent {
+ static propTypes = {
+ fullPath: PropTypes.string.isRequired,
+ onClick: PropTypes.func.isRequired,
+ view: PropTypes.string.isRequired,
+ };
+
+ /**
+ * Split full path string to path items
+ *
+ * @param {string} fullPath - Full path for current folder
+ * @return {Array