mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
import { withRouter } from "next/router";
|
|
|
|
export default withRouter(class Something extends React.Component {
|
|
render() {
|
|
const {props, stats} = this
|
|
|
|
const test = props.router
|
|
}
|
|
});
|