remove accordian
This commit is contained in:
@ -168,7 +168,6 @@
|
||||
"no-ternary": 0,
|
||||
"no-trailing-spaces": 1,
|
||||
"no-underscore-dangle": 0,
|
||||
"no-extra-parens": 2,
|
||||
"one-var": 0,
|
||||
"operator-assignment": 0,
|
||||
"padded-blocks": 0,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { PropTypes } from 'react';
|
||||
import { contain } from 'thundercats-react';
|
||||
import { Accordion, Thumbnail, Panel, Well } from 'react-bootstrap';
|
||||
import { PanelGroup, Thumbnail, Panel, Well } from 'react-bootstrap';
|
||||
import moment from 'moment';
|
||||
|
||||
export default contain(
|
||||
@ -46,22 +46,24 @@ export default contain(
|
||||
);
|
||||
return (
|
||||
<Panel
|
||||
collapsable={ true }
|
||||
collapsible={ true }
|
||||
eventKey={ index }
|
||||
header={ header }
|
||||
key={ id }>
|
||||
<Well>
|
||||
<Thumbnail
|
||||
alt='200x200' src={ logo }
|
||||
style={ thumbnailStyle } />
|
||||
<Well>
|
||||
<Panel>
|
||||
Position: { position }
|
||||
Location: { city }, { state }
|
||||
<br />
|
||||
Contact: { email || phone || 'N/A' }
|
||||
<br />
|
||||
Posted On: { moment(postedOn).format('MMMM Do, YYYY') }
|
||||
</Well>
|
||||
</Panel>
|
||||
<p>{ description }</p>
|
||||
</Well>
|
||||
</Panel>
|
||||
);
|
||||
});
|
||||
@ -70,9 +72,9 @@ export default contain(
|
||||
render() {
|
||||
const { jobs } = this.props;
|
||||
return (
|
||||
<Accordion>
|
||||
<PanelGroup>
|
||||
{ this.renderJobs(jobs) }
|
||||
</Accordion>
|
||||
</PanelGroup>
|
||||
);
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user