import * as React from "react" import { Button, Heading, Hr, Section, Text } from "@react-email/components" import { RavenEmailLayout } from "./_components/layout" import { EMAIL_COLORS } from "./_components/tokens" export type TicketCommentEmailProps = { ticketNumber: string ticketTitle: string commenterName: string commentPreview: string ticketUrl: string } export default function TicketCommentEmail(props: TicketCommentEmailProps) { const { ticketNumber, ticketTitle, commenterName, commentPreview, ticketUrl } = props return (
💬
Novo comentario {commenterName} comentou no chamado #{ticketNumber}.
Chamado #{ticketNumber} {ticketTitle}
Comentario {commentPreview}

Clique no botao acima para ver o comentario completo e responder.
) } TicketCommentEmail.PreviewProps = { ticketNumber: "41025", ticketTitle: "Computador nao liga apos atualizacao", commenterName: "Weslei Magalhaes", commentPreview: "Ola! Ja verificamos o problema e parece ser relacionado ao driver da placa de video. Vou precisar de acesso remoto para fazer a correcao...", ticketUrl: "https://raven.rever.com.br/tickets/abc123", } satisfies TicketCommentEmailProps