Skip to content

Commit

Permalink
fix: markdown-text type (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jul 30, 2024
1 parent 01c0d16 commit b82dd31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-markdown/src/primitives/MarkdownText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ type PrimitiveDivProps = ComponentPropsWithoutRef<typeof Primitive.div>;

export type MarkdownTextPrimitiveProps = Omit<
Options,
"components" | "children" | "asChild"
"components" | "children"
> & {
containerProps?: Omit<PrimitiveDivProps, "children">;
containerProps?: Omit<PrimitiveDivProps, "children" | "asChild">;
containerComponent?: ElementType;
components?: NonNullable<Options["components"]> & {
SyntaxHighlighter?: ComponentType<SyntaxHighlighterProps>;
Expand Down

0 comments on commit b82dd31

Please sign in to comment.