mirror of
https://github.com/mgerb/react-starter
synced 2026-01-10 17:12:48 +00:00
upgrade to webpack 4 - complete overhaul
This commit is contained in:
18
app/pages/not-found/not-found.tsx
Normal file
18
app/pages/not-found/not-found.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import { RouteComponentProps } from 'react-router-dom';
|
||||
|
||||
import './not-found.scss';
|
||||
|
||||
interface Props extends RouteComponentProps<any> {}
|
||||
|
||||
interface State {}
|
||||
|
||||
export class NotFound extends React.Component<Props, State> {
|
||||
constructor(props: Props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
return <div className="not-found">404 Not Found</div>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user