import React , { FunctionComponent } from "react" ; import styleWarningView from "./warning-view.module.scss" ; import { FormattedMessage } from "react-intl" ; export const WarningView = ( ) => { return ( < div className = { styleWarningView . innerContainer } > < img className = { styleWarningView . imgLock } src = { require ( "../../../public/assets/img/icons8-lock.svg" ) } alt = "lock" / > < p > < FormattedMessage id = "setting.export.warning" / > < /p> < /div>); } ;