diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-06-29 09:47:42 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-06-29 09:47:42 -0500 |
| commit | 5bc462d774633c40dd9ae5efd35cfca2cf71f0ef (patch) | |
| tree | e1d457f4e19d4a6cc159e682d2fe018389c1d378 /src | |
| parent | 86f9197b6713483b2daec2378695ed863cf62912 (diff) | |
| download | slskd-5bc462d774633c40dd9ae5efd35cfca2cf71f0ef.tar.gz | |
add tabs
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/System/Files/index.js | 17 |
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> ); }; |
