1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-10 17:12:48 +00:00

formatting

This commit is contained in:
2017-08-26 21:23:05 -05:00
parent cc0be44b54
commit 689d1b4df0
10 changed files with 115 additions and 133 deletions

View File

@@ -1,3 +1,3 @@
.Home {
padding: 10px;
}
padding: 10px;
}

View File

@@ -3,26 +3,16 @@ import { RouteComponentProps } from 'react-router-dom';
import './Home.scss';
interface Props extends RouteComponentProps<any> {
interface Props extends RouteComponentProps<any> {}
}
interface State {
}
interface State {}
export default class Home extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
constructor(props: Props){
super(props);
}
render() {
return (
<div className="Home">
test 123
</div>
);
}
render() {
return <div className="Home">test 123</div>;
}
}

View File

@@ -1,5 +1,5 @@
.NotFound {
font-size: 20px;
text-align: center;
padding-top: 200px;
}
font-size: 20px;
text-align: center;
padding-top: 200px;
}

View File

@@ -3,26 +3,16 @@ import { RouteComponentProps } from 'react-router-dom';
import './NotFound.scss';
interface Props extends RouteComponentProps<any> {
interface Props extends RouteComponentProps<any> {}
}
interface State {
}
interface State {}
export default class NotFound extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
constructor(props: Props){
super(props);
}
render() {
return (
<div className="NotFound">
404 Not Found
</div>
);
}
render() {
return <div className="NotFound">404 Not Found</div>;
}
}