import React from 'react' import { Button, Chevron } from '../components/Base' import { renderRoute } from '../lib/router' import { isLast } from '../lib/lib' const Crumbs = (props) => { const { routeCrumbs, skipRoute } = props const history = routeCrumbs.reverse() // FIXME probably more straightforward to render them normally and just // return the reversed array of renders const rendered = history.map((route, idx) => { return (