import { Section, Text } from 'react-email'; import * as React from 'react'; import { content, paragraph } from '../css/styles'; import { EmailButton, MailBody } from '../partials/partials'; interface Props { actorName: string; pageTitle: string; spaceName: string; pageUrl: string; comment?: string; } export const ApprovalRejectedEmail = ({ actorName, pageTitle, spaceName, pageUrl, comment, }: Props) => { return (
Hi there, {actorName} returned{' '} {pageTitle} in the{' '} {spaceName} space for revision. {comment && ( “{comment}” )}
View page
); }; export default ApprovalRejectedEmail;