File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 1919 */
2020
2121import * as bootstrap from 'react-bootstrap' ;
22-
23- import PropTypes from 'prop-types' ;
2422import React from 'react' ;
2523
2624
2725const { Col, Container, Row} = bootstrap ;
2826
29- function Footer ( props ) {
30- const { repositoryUrl, siteRevision} = props ;
31-
27+ type FooterProps = {
28+ repositoryUrl : string ;
29+ siteRevision : string ;
30+ } ;
31+ function Footer ( { repositoryUrl, siteRevision} : Props ) {
3232 return (
3333 < footer className = "footer" >
3434 < Container fluid >
@@ -89,10 +89,4 @@ function Footer(props) {
8989 ) ;
9090}
9191
92- Footer . displayName = 'Footer' ;
93- Footer . propTypes = {
94- repositoryUrl : PropTypes . string . isRequired ,
95- siteRevision : PropTypes . string . isRequired
96- } ;
97-
9892export default Footer ;
You can’t perform that action at this time.
0 commit comments