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