1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/src/components/DocFooter.jsx

22 lines
485 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
import styles from './DocFooter.module.scss'
const DocFooter = ({ post }) => (
<footer className={styles.footer}>
<a
href={`https://github.com/oceanprotocol/docs/blob/master/content/${
post.parent.relativePath
}`}
>
Edit on GitHub
</a>
</footer>
)
DocFooter.propTypes = {
post: PropTypes.object.isRequired
}
export default DocFooter