mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-23 16:28:29 +00:00
19 lines
402 B
TypeScript
19 lines
402 B
TypeScript
import React from 'react';
|
|
|
|
import './Warning.scss';
|
|
|
|
interface WarningProps {
|
|
children: any;
|
|
}
|
|
|
|
export default function Warning(props: WarningProps) {
|
|
return (
|
|
<section className="Warning">
|
|
<section className="Warning-icon">
|
|
<i className="fa fa-exclamation-triangle" />
|
|
</section>
|
|
<section className="Warning-content">{props.children}</section>
|
|
</section>
|
|
);
|
|
}
|