This commit is contained in:
Ren Amamiya
2023-07-25 08:09:26 +07:00
parent d30be10568
commit a1b93cdb72
11 changed files with 361 additions and 362 deletions

View File

@@ -10,18 +10,9 @@ import {
VideoPreview,
} from '@shared/notes';
export function NoteContent({
content,
}: {
content: {
original: string;
parsed: string;
notes: string[];
images: string[];
videos: string[];
links: string[];
};
}) {
import { Content } from '@utils/types';
export function NoteContent({ content }: { content: Content }) {
return (
<>
<ReactMarkdown