URL dependent labeling of the toolbar

This commit is contained in:
Delucse
2020-08-31 12:35:33 +02:00
parent baa047f8d7
commit f38a33fd4a
4 changed files with 44 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
import React, { Component } from 'react';
import { withRouter } from 'react-router-dom';
class Tutorial extends Component {
render() {
console.log(this.props);
return (
<h1>Tutorial {this.props.match.params.tutorialId}</h1>
);
};
}
export default withRouter(Tutorial);
+11
View File
@@ -0,0 +1,11 @@
import React, { Component } from 'react';
class TutorialHome extends Component {
render() {
return (
<h1>Tutorial Home</h1>
);
};
}
export default TutorialHome;