joyent-portal/legacy/spikes/routing-containers/routing-example/src/components/org-tabs.js
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

27 lines
600 B
JavaScript

import React, { Component, PropTypes} from 'react';
import { Link } from 'react-router-dom';
class OrgTabs extends Component {
render() {
console.log('this.props = ', this.props);
const {
match
} = this.props;
return (
<div style={{border: '1px solid black', margin: '2px', padding: '2px'}}>
<p>Org tabs - will match for any '/:org' path</p>
<p>Should display the org tabs</p>
<p>Should be a connected component, getting the list of orgs</p>
</div>
)
}
}
OrgTabs.propTypes = {
match: PropTypes.object
}
export default OrgTabs;