import { formatTeamUrl } from '@documenso/lib/utils/teams'; import config from '@documenso/tailwind-config'; import { Body, Button, Container, Head, Hr, Html, Preview, Section, Tailwind, Text, } from '../components'; import { TemplateFooter } from '../template-components/template-footer'; import TemplateImage from '../template-components/template-image'; export type TeamTransferRequestTemplateProps = { assetBaseUrl: string; baseUrl: string; senderName: string; teamName: string; teamUrl: string; token: string; }; export const TeamTransferRequestTemplate = ({ assetBaseUrl = 'http://localhost:3002', baseUrl = 'https://documenso.com', senderName = 'John Doe', teamName = 'Team Name', teamUrl = 'demo', token = '', }: TeamTransferRequestTemplateProps) => { const previewText = 'Accept team transfer request on Documenso'; return ( {previewText}
{teamName} ownership transfer request {senderName} has requested that you take ownership of the following team
{formatTeamUrl(teamUrl, baseUrl)}
By accepting this request, you will take responsibility for any billing items associated with this team.
Link expires in 1 hour.

); }; export default TeamTransferRequestTemplate;