Added copyright component
This commit is contained in:
parent
6511b7352d
commit
d4814a6449
2 changed files with 15 additions and 0 deletions
14
src/components/Copyright/Copyright.tsx
Normal file
14
src/components/Copyright/Copyright.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
interface Props {
|
||||
year: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<span>
|
||||
Copyright © {props.year} {props.name} All Rights Reserved.
|
||||
</span>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue