// @flow import React from 'react'; import { translate } from '../../../base/i18n'; import { Icon, IconClose } from '../../../base/icons'; type Props = { /** * The {@link ModalDialog} closing function. */ onClose: Function, /** * Invoked to obtain translated strings. */ t: Function }; /** * Custom header of the {@code SecurityDialog}. * * @returns {React$Element} */ function Header({ onClose, t }: Props) { return (
{ t('security.securityOptions') }
); } export default translate(Header);