Skip to content

Commit cec1eab

Browse files
authored
Merge pull request iamacup#74 from pke/patch-1
fix: Add `onLinkPress` to MarkdownProps
2 parents 3a40953 + bb7c8db commit cec1eab

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)