{"size": 606, "ext": "js", "max_stars_repo_path": "packages/client/src/pattern/atom/route/RouteWithSubRoutes/__tests__/RouteWithSubRoutes.int.render.js", "max_stars_repo_name": "mts/papillon-explorer", "max_stars_repo_stars_event_min_datetime": "2018-12-06T20:51:02.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-28T12:05:12.000Z", "max_issues_repo_path": "packages/client/src/pattern/atom/route/RouteWithSubRoutes/__tests__/RouteWithSubRoutes.int.render.js", "max_issues_repo_name": "mts/papillon-explorer", "max_issues_repo_issues_event_min_datetime": "2019-02-21T00:00:37.000Z", "max_issues_repo_issues_event_max_datetime": "2019-10-16T16:48:41.000Z", "max_forks_repo_path": "packages/client/src/pattern/atom/route/RouteWithSubRoutes/__tests__/RouteWithSubRoutes.int.render.js", "max_forks_repo_name": "mts/papillon-explorer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 7, "max_forks_count": null, "avg_line_length": 22.4444444444, "max_line_length": 77, "alphanum_fraction": 0.6369636964}
import React from 'react'
import { RouteWithSubRoutes } from '../RouteWithSubRoutes'

const SomeComponent = () => <div />
const SomeOtherComponentOne = () => <div />
const SomeOtherComponentTwo = () => <div />

const route = {
  path: '/some-path',
  exact: true,
  component: SomeComponent,
  routes: [
    {
      path: '/some-other-path-one',
      exact: true,
      component: SomeOtherComponentOne,
    },
    {
      path: '/some-other-path-one',
      exact: true,
      component: SomeOtherComponentTwo,
    },
  ],
}

export const routeWithSubRoutesDefault = <RouteWithSubRoutes route={route} />
