{"size": 454, "ext": "js", "max_stars_repo_path": "src/routes/index.js", "max_stars_repo_name": "winyh/astx", "max_stars_repo_stars_event_min_datetime": "2019-11-29T02:06:58.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-08T14:00:01.000Z", "max_issues_repo_path": "src/routes/index.js", "max_issues_repo_name": "winyh/astx", "max_issues_repo_issues_event_min_datetime": "2021-02-20T08:29:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-17T02:49:26.000Z", "max_forks_repo_path": "src/routes/index.js", "max_forks_repo_name": "winyh/astx", "max_forks_repo_forks_event_min_datetime": "2020-08-10T06:29:07.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-14T06:59:31.000Z"}
{"max_stars_count": 30, "max_issues_count": 2, "max_forks_count": 4, "avg_line_length": 21.619047619, "max_line_length": 67, "alphanum_fraction": 0.563876652}
import React, { Component } from 'react';
import {
  BrowserRouter as Router,
  Route
} from "react-router-dom";

import App from '../App';
import Preview from '../blocks/preview';

class Index extends Component {
    render(){
        return (
            <Router>
                <Route exact path="/"  component={App} />
                <Route exact path="/preview" component={Preview} />
            </Router>
        )
    }
}

export default  Index