Skip to content

Commit

Permalink
Make React optional in Markdown library
Browse files Browse the repository at this point in the history
  • Loading branch information
NotNite committed Dec 10, 2023
1 parent f793192 commit 0702b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/src/coreExtensions/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export type MarkdownRule = {
order: number;
match: MatchFunction;
parse: ParseFunction;
react: SingleNodeOutput<React.ReactNode>;
react?: SingleNodeOutput<React.ReactNode>;
};

export type SlateRule =
Expand Down

0 comments on commit 0702b0d

Please sign in to comment.