16
packages/backend/server/src/mails/components/doc.tsx
Normal file
16
packages/backend/server/src/mails/components/doc.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Link } from '@react-email/components';
|
||||
|
||||
import { Bold } from './template';
|
||||
|
||||
export interface DocProps {
|
||||
title: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export const Doc = (props: DocProps) => {
|
||||
return (
|
||||
<Link href={props.url}>
|
||||
<Bold>{props.title}</Bold>
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
@@ -1,4 +1,5 @@
|
||||
export * from './date';
|
||||
export * from './doc';
|
||||
export * from './template';
|
||||
export * from './user';
|
||||
export * from './workspace';
|
||||
|
||||
Reference in New Issue
Block a user