/** * This component ... */ import React from 'react'; import { react2angular } from 'react2angular'; import { Loader } from './loader'; import { IApplication } from '../models/application'; import { useTranslation } from 'react-i18next'; import { FabModal, ModalSize } from './fab-modal'; import { User } from '../models/user'; declare var Application: IApplication; interface SelectGatewayModalModalProps { isOpen: boolean, toggleModal: () => void, currentUser: User, } const SelectGatewayModal: React.FC = ({ isOpen, toggleModal }) => { const { t } = useTranslation('admin'); return ( ); } const StripeModalWrapper: React.FC = ({ isOpen, toggleModal,currentUser }) => { return ( ); } Application.Components.component('stripeModal', react2angular(StripeModalWrapper, ['isOpen', 'toggleModal', 'currentUser']));