mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 11:05:47 +00:00
3ae3622ff4
* Adjust emailTo to desired email addresses * Prettierize SupportFooter * Add monero swap support * Adjust styling and wording for the PaymentInfo screen for XMR * Only show warning on XMR swaps (duh) * Replicate comment * Fix styling for rates and payment info * Add a Monero donation address and use it as the placeholder for the ReceivingAddress Input
23 lines
519 B
TypeScript
23 lines
519 B
TypeScript
import React from 'react';
|
|
|
|
import './Warning.scss';
|
|
|
|
interface WarningProps {
|
|
highlighted?: boolean;
|
|
}
|
|
|
|
const Warning: React.SFC<WarningProps> = ({ highlighted, children }) => {
|
|
const className = `Warning ${highlighted ? 'highlighted' : ''}`;
|
|
|
|
return (
|
|
<section className={className}>
|
|
<section className="Warning-icon">
|
|
<i className="fa fa-exclamation-triangle" />
|
|
</section>
|
|
<section className="Warning-content">{children}</section>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default Warning;
|