import React from 'react'; import Modal, { ModalProps } from '../Modal/Modal'; import Button from '../../atoms/Button/Button'; import Card from '../../organisms/Card'; interface ExpiryModalProps extends Omit { /** * A callback that fires once the user clicks on 'Log out' */ onEndSession: () => void; /** * A callback that fires once the user clicks on 'Continue' */ onKeepSession: () => void; } export default function ExpiryModal({ onEndSession, onKeepSession, ...rest }: ExpiryModalProps) { return ( Your session is about to expire You've gone quiet. What would you like to do? ); }