import React from 'react'; import {ModalWrapper} from '@universal-login/react'; import styled from 'styled-components'; import {Title} from '../common/Text/Title'; import {Text} from '../common/Text/Text'; import {CloseButton} from '../common/Button/CloseButton'; import {ButtonPrimary, ButtonSecondary} from '../common/Button/Button'; import {UniLoginLogo} from '../common/UniLoginLogo'; import {GlobalStyle} from '../common/GlobalStyle'; import {BoxHeader} from '../common/Layout/BoxHeader'; import {BoxContent} from '../common/Layout/BoxContent'; import {BoxFooter} from '../common/Layout/BoxFooter'; import {Box} from '../common/Layout/Box'; import {Row} from '../common/Layout/Row'; export interface SignConfirmationProps { title: string; message: string; signMessage: string; onConfirmationResponse: (response: boolean) => void; } export const SignConfirmation = ({onConfirmationResponse, title, message, signMessage}: SignConfirmationProps) => ( <> onConfirmationResponse(false)} /> {title} {signMessage} onConfirmationResponse(false)}>Back onConfirmationResponse(true)}>Sign ); const CentralizedText = styled(Text)` margin-top: 45px; text-align: center; @media(max-width: 600px) { margin-top: 24px; } `;