Sha256: dbfbc98502a689c13a1c3e61de22442796f0cf046b8b6329586f3e7e151a128a
Contents?: true
Size: 292 Bytes
Versions: 72
Compression:
Stored size: 292 Bytes
Contents
import React from 'react'; import { Route } from 'react-router-dom'; import { links } from './config'; export default () => ( <div> {links.map(({ path, component, exact = true }) => ( <Route exact={exact} key={path} path={`/${path}`} component={component} /> ))} </div> );
Version data entries
72 entries across 72 versions & 1 rubygems