import React from 'react';
import ReactDOM from 'react-dom';
import JqxNavBar from '../../../jqwidgets-react/react_jqxnavbar.js';
class App extends React.Component {
render () {
let navBar1InnerHtml =
'
';
let navBar2InnerHtml =
'';
let navBar3InnerHtml =
'' +
'- 1
' +
'- 2
' +
'- 3
' +
'- 4
' +
'
';
let navBar4InnerHtml =
'' +
'- 1
' +
'- 2
' +
'- 3
' +
'- 4
' +
'- 5
' +
'
';
let navBar5InnerHtml =
'' +
'- 1
' +
'- 2
' +
'- 3
' +
'- 4
' +
'- 5
' +
'- 6
' +
'- 7
' +
'- 8
' +
'
';
let navBar6InnerHtml =
'';
return (
NavBar with 2 Items. Each item is with 50% width.
NavBar with 3 Items. Each item is with 33.33% width.
NavBar with 4 Items. Each item is with 25% width.
NavBar with 5 Items. Each item is with 20% width.
NavBar with more than 5 Items. Items are displayed in 2 columns and each item is with 50% width.
NavBar with "columns" set to ['30%', '50%', '20%'].
)
}
}
ReactDOM.render(, document.getElementById('app'));