refactor text parser

This commit is contained in:
2023-11-01 10:05:08 +07:00
parent fd5ecc18a9
commit e218ebee89
9 changed files with 234 additions and 213 deletions

View File

@@ -1,9 +1,8 @@
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 | ReactNode[];
parsed: string;
images: string[];
videos: string[];
links: string[];