aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-06-29 09:47:42 -0500
committerJP Dillingham <jp@dillingham.me>2023-06-29 09:47:42 -0500
commit5bc462d774633c40dd9ae5efd35cfca2cf71f0ef (patch)
treee1d457f4e19d4a6cc159e682d2fe018389c1d378
parent86f9197b6713483b2daec2378695ed863cf62912 (diff)
downloadslskd-5bc462d774633c40dd9ae5efd35cfca2cf71f0ef.tar.gz
add tabs
-rw-r--r--src/web/src/components/System/Files/index.js17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/web/src/components/System/Files/index.js b/src/web/src/components/System/Files/index.js
index b51315d1..881d1246 100644
--- a/src/web/src/components/System/Files/index.js
+++ b/src/web/src/components/System/Files/index.js
@@ -1,10 +1,23 @@
import React from 'react';
-import { Header } from 'semantic-ui-react';
+import { Tab } from 'semantic-ui-react';
+
+const panes = [
+ {
+ route: 'downloads',
+ menuItem: 'Downloads',
+ render: () => <Tab.Pane>Downloads</Tab.Pane>,
+ },
+ {
+ route: 'incomplete',
+ menuItem: 'Incomplete',
+ render: () => <Tab.Pane>Incomplete</Tab.Pane>,
+ },
+];
const Files = () => {
return (
<div>
- <Header as='h3' className='file-management-header'>Files</Header>
+ <Tab panes={panes}/>
</div>
);
};