Added footer component
This commit is contained in:
parent
91015d72de
commit
45979258ba
2 changed files with 21 additions and 0 deletions
8
fwt/components/Footer/Footer.sass
Normal file
8
fwt/components/Footer/Footer.sass
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.footer
|
||||
padding: 1rem 0
|
||||
margin: 0 20rem
|
||||
position: fixed
|
||||
bottom: 0
|
||||
width: 100%
|
||||
font-size: 0.75rem
|
||||
opacity: 0.8
|
||||
13
fwt/components/Footer/Footer.tsx
Normal file
13
fwt/components/Footer/Footer.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import './Footer.sass'
|
||||
|
||||
interface Props {
|
||||
children: any
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<footer class="footer">{props.children}</footer>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue