mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 12:36:24 +08:00
feat(server): new email template (#9528)
use `yarn af server dev:mail` to preview all mail template fix CLOUD-93
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { AvatarWithName } from './template';
|
||||
|
||||
export interface WorkspaceProps {
|
||||
name: string;
|
||||
avatar?: string;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export const Workspace = (props: WorkspaceProps) => {
|
||||
return (
|
||||
<AvatarWithName
|
||||
name={props.name}
|
||||
img={props.avatar}
|
||||
width={`${props.size}px`}
|
||||
height={`${props.size}px`}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user