right-tree/frontend/src/components/steps/results/ResultsStep.js
Dana Lambert 8638fd3041 Make step content scrollable overflow adjust results step
- Results step is now the last step but doesn't restrict the user from going back
2021-11-02 11:11:55 +13:00

21 lines
548 B
JavaScript

import Step from '../Step';
import { ListGroup, ListGroupItem } from 'reactstrap';
export default function ResultsStep(props) {
const stepContent = (
<div>
<h5 className="pt-4">Plant List</h5>
<div>
<ListGroup>
{props.plants.map(function (plant, i) {
return <ListGroupItem key={i} >{plant.name}</ListGroupItem>;
})}
</ListGroup>
</div>
</div>
)
return (
<Step contentComponent={stepContent} />
)
}