refactor text parser

This commit is contained in:
2023-10-28 14:36:12 +07:00
parent 6685d9af38
commit ace58ecdd5
6 changed files with 200 additions and 211 deletions

View File

@@ -1,8 +1,9 @@
import { type NDKEvent, type NDKUserProfile } from '@nostr-dev-kit/ndk';
import { type Response } from '@tauri-apps/plugin-http';
import { ReactNode } from 'react';
export interface RichContent {
parsed: string;
parsed: string | ReactNode[];
images: string[];
videos: string[];
links: string[];