mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
83ed215f4a
use `yarn af server dev:mail` to preview all mail template fix CLOUD-93
33 lines
689 B
TypeScript
33 lines
689 B
TypeScript
import { TEST_WORKSPACE } from '../common';
|
|
import {
|
|
Content,
|
|
P,
|
|
Template,
|
|
Title,
|
|
Workspace,
|
|
type WorkspaceProps,
|
|
} from '../components';
|
|
|
|
export type OwnershipTransferredProps = {
|
|
workspace: WorkspaceProps;
|
|
};
|
|
|
|
export default function OwnershipTransferred(props: OwnershipTransferredProps) {
|
|
const { workspace } = props;
|
|
return (
|
|
<Template>
|
|
<Title>Ownership transferred</Title>
|
|
<Content>
|
|
<P>
|
|
You have transferred ownership of <Workspace {...workspace} />. You
|
|
are now a collaborator in this workspace.
|
|
</P>
|
|
</Content>
|
|
</Template>
|
|
);
|
|
}
|
|
|
|
OwnershipTransferred.PreviewProps = {
|
|
workspace: TEST_WORKSPACE,
|
|
};
|