blob: 08253c7af9b35510bb4ed45525ede0e39804d1d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
import React, { Component } from 'react';
import { Segment, Tab } from 'semantic-ui-react';
import './System.css';
import Info from './Info';
import Logs from './Logs';
import Options from './Options';
class System extends Component {
componentDidMount = () => {
}
componentWillUnmount = () => {
}
render = () => {
return (
<div className='system'>
<Segment raised>
<Tab panes={[
{ menuItem: 'Info', render: () => <Tab.Pane><Info state={this.props.state}/></Tab.Pane> },
{ menuItem: 'Options', render: () => <Tab.Pane className='full-height'><Options options={this.props.options}/></Tab.Pane> },
{ menuItem: 'Logs', render: () => <Tab.Pane><Logs/></Tab.Pane> },
]}/>
</Segment>
</div>
);
}
}
export default System;
|