Create text stories

This commit is contained in:
Josh Perez
2022-06-16 20:48:57 -04:00
committed by GitHub
parent 973b2264fe
commit d970d427f8
53 changed files with 2433 additions and 1106 deletions

View File

@@ -26,6 +26,12 @@ export type LinkPreviewWithDomain = {
domain: string;
} & LinkPreviewResult;
export enum LinkPreviewSourceType {
Composer,
ForwardMessageModal,
StoryCreator,
}
const linkify = LinkifyIt();
export function shouldPreviewHref(href: string): boolean {