Skip to content

Commit 2643650

Browse files
committed
feat(slim/block): add Footer Region block
1 parent 3a8ebbd commit 2643650

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
3+
4+
const Footer = (props) => {
5+
const { className, ...rest } = props
6+
7+
return (
8+
<div {...rest}>
9+
<div>
10+
&copy;{' '}
11+
<a href="http://react-chef/" target="_blank">
12+
React Chef
13+
</a>
14+
. 2020
15+
</div>
16+
<div>React Chef</div>
17+
</div>
18+
)
19+
}
20+
21+
Footer.propTypes = {
22+
className: PropTypes.string,
23+
}
24+
25+
export default Footer
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './Footer'

0 commit comments

Comments
 (0)