Skip to content

Commit bb7c8db

Browse files
authored
fix: Add onLinkPress to MarkdownProps
1 parent e41a9f2 commit bb7c8db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export interface MarkdownProps {
9090
markdownit?: MarkdownIt;
9191
mergeStyle?: boolean;
9292
debugPrintTree?: boolean;
93+
onLinkPress: (url: string) => boolean;
9394
}
9495

9596
type MarkdownStatic = React.ComponentType<MarkdownProps>;

0 commit comments

Comments
 (0)