We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a997c5e commit c5c2883Copy full SHA for c5c2883
src/index.d.ts
@@ -24,7 +24,7 @@ export type RenderLinkFunction = (
24
children: ReactNode[],
25
parentNodes: ASTNode[],
26
styles: any,
27
- onLinkPress: (url: string) => boolean,
+ onLinkPress?: (url: string) => boolean,
28
) => ReactNode;
29
30
export type RenderImageFunction = (
@@ -90,7 +90,7 @@ export interface MarkdownProps {
90
markdownit?: MarkdownIt;
91
mergeStyle?: boolean;
92
debugPrintTree?: boolean;
93
- onLinkPress: (url: string) => boolean;
+ onLinkPress?: (url: string) => boolean;
94
}
95
96
type MarkdownStatic = React.ComponentType<MarkdownProps>;
0 commit comments