| 1 |
import React from 'react' |
| 2 |
import { Button } from './partials' |
| 3 |
|
| 4 |
const Footer = ({ attributes: { buttonText, buttonIcon, showButtonIcon, buttonIconPosition }, link }) => { |
| 5 |
return ( |
| 6 |
<div className='betterdocs-footer'> |
| 7 |
<Button |
| 8 |
permalink={link} |
| 9 |
label={buttonText} |
| 10 |
showIcon={showButtonIcon} |
| 11 |
icon={buttonIcon} |
| 12 |
position={buttonIconPosition} |
| 13 |
/> |
| 14 |
</div> |
| 15 |
) |
| 16 |
} |
| 17 |
|
| 18 |
export default Footer |
| 19 |
|