23 lines
510 B
TypeScript
Raw Normal View History

import React from 'react';
import './PreFooter.scss';
2018-03-23 11:58:33 -05:00
import translate, { translateRaw } from 'translations';
2018-02-10 13:56:05 -05:00
interface Props {
openModal(): void;
}
const PreFooter: React.SFC<Props> = ({ openModal }) => {
return (
<section className="pre-footer">
<div className="container">
<p>
{translate('PREFOOTER_WARNING')}{' '}
2018-03-23 11:58:33 -05:00
<a onClick={openModal}>{translateRaw('PREFOOTER_SECURITY_WARNING')}</a>
</p>
</div>
</section>
);
};
export default PreFooter;