* feat: rebase previous frontend-build upgrade * chore: make welcome message to default to empty
20 lines
498 B
JavaScript
20 lines
498 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
|
|
const Footnote = ({ icon, text }) => (
|
|
<div className="row w-100 mx-0 my-4 justify-content-center">
|
|
<p className="text-gray-700">
|
|
<FontAwesomeIcon icon={icon} style={{ width: '20px' }} />
|
|
{text}
|
|
</p>
|
|
</div>
|
|
);
|
|
|
|
Footnote.propTypes = {
|
|
icon: PropTypes.shape({}).isRequired,
|
|
text: PropTypes.node.isRequired,
|
|
};
|
|
|
|
export default Footnote;
|