From b82dd31adb3c7d01529185e94002e0269ae42ac3 Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Tue, 30 Jul 2024 13:26:13 -0700 Subject: [PATCH] fix: markdown-text type (#617) --- packages/react-markdown/src/primitives/MarkdownText.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-markdown/src/primitives/MarkdownText.tsx b/packages/react-markdown/src/primitives/MarkdownText.tsx index 4e027e51f..cd9643613 100644 --- a/packages/react-markdown/src/primitives/MarkdownText.tsx +++ b/packages/react-markdown/src/primitives/MarkdownText.tsx @@ -28,9 +28,9 @@ type PrimitiveDivProps = ComponentPropsWithoutRef; export type MarkdownTextPrimitiveProps = Omit< Options, - "components" | "children" | "asChild" + "components" | "children" > & { - containerProps?: Omit; + containerProps?: Omit; containerComponent?: ElementType; components?: NonNullable & { SyntaxHighlighter?: ComponentType;