Convert NotFound to TypeScript
parent
b2a6c752eb
commit
1cf13b4e31
|
@ -1,18 +0,0 @@
|
|||
import React from 'react'
|
||||
|
||||
const NotFound = React.createClass({
|
||||
render() {
|
||||
return (
|
||||
<div className="container-fluid">
|
||||
<div className="panel">
|
||||
<div className="panel-heading text-center">
|
||||
<h1 className="deluxe">404</h1>
|
||||
<h4>Bummer! We couldn't find the page you were looking for</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
})
|
||||
|
||||
export default NotFound
|
|
@ -0,0 +1,13 @@
|
|||
import React, {SFC} from 'react'
|
||||
|
||||
const NotFound: SFC = () => (
|
||||
<div className="container-fluid">
|
||||
<div className="panel">
|
||||
<div className="panel-heading text-center">
|
||||
<h1 className="deluxe">404</h1>
|
||||
<h4>Bummer! We couldn't find the page you were looking for</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
export default NotFound
|
Loading…
Reference in New Issue