Files
AFFiNE-Mirror/packages/backend/server/src/mails/teams/license.tsx
2025-01-22 10:21:07 +00:00

34 lines
678 B
TypeScript

import {
Bold,
Content,
OnelineCodeBlock,
P,
Template,
Title,
} from '../components';
export interface TeamLicenseProps {
license: string;
}
export default function TeamLicense(props: TeamLicenseProps) {
const { license } = props;
return (
<Template>
<Title>Here is your license key.</Title>
<Content>
<OnelineCodeBlock>{license}</OnelineCodeBlock>
<P>
You can use this key to upgrade your selfhost workspace in{' '}
<Bold>Settings &gt; Workspace &gt; License</Bold>.
</P>
</Content>
</Template>
);
}
TeamLicense.PreviewProps = {
license: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
};