mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 17:16:16 +08:00
@@ -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