summaryrefslogtreecommitdiffstats
path: root/graphgraph-fe/src/GraphSettingsMenu.js
blob: d1b31ba79cfd050893311d205e94d84ec4129489 (plain)
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
import React from 'react'
import GraphSettings from './GraphSettings'
import { Navbar, FormGroup } from 'react-bootstrap'
import './GraphSettingsMenu.css'

class GraphSettingsMenu extends React.Component {
  render () {
    return (
      <Navbar className='navbar-adjust'>
        <Navbar.Header>
          <Navbar.Brand>
            <a href="https://gerrit.onap.org/r/gitweb?p=aai/graphgraph.git">GraphGraph</a>
          </Navbar.Brand>
          <Navbar.Toggle />
        </Navbar.Header>
        <Navbar.Collapse>
          <Navbar.Form pullLeft>
            <FormGroup>
              <GraphSettings selectedNode={this.props.selectedNode} graphData={this.props.graphData} nodePropsLoader={this.props.nodePropsLoader} />
            </FormGroup>{' '}
          </Navbar.Form>
        </Navbar.Collapse>
      </Navbar>)
  }
}

export default GraphSettingsMenu