25 lines
546 B
JavaScript
25 lines
546 B
JavaScript
import React from 'react';
|
|
import Navigation from '../../components/navigation';
|
|
|
|
class NavigationTest extends React.Component {
|
|
state = {
|
|
routes: [
|
|
{ label: 'Github', route: 'http://www.github.com', icon: 'bookmark' },
|
|
{ label: 'Mail', route: 'http://mail.google.com', icon: 'inbox' }
|
|
]
|
|
};
|
|
|
|
render () {
|
|
return (
|
|
<section>
|
|
<h5>Navigation</h5>
|
|
<p>lorem ipsum...</p>
|
|
|
|
<Navigation type='vertical' routes={this.state.routes} />
|
|
</section>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default NavigationTest;
|