11 lines
361 B
TypeScript
11 lines
361 B
TypeScript
import { useContext } from 'react'
|
|
import { ConfigContext } from 'src/context/ConfigContext'
|
|
|
|
export const Copyright: React.FC = () => {
|
|
const { yearStart, yearEnd } = useContext(ConfigContext)
|
|
|
|
return (
|
|
<span>© {yearStart}—{yearEnd} Шлиссельбургская детская художественная школа</span>
|
|
)
|
|
}
|