Skip to content

Commit bd1b74a

Browse files
authored
Merge pull request iamacup#105 from pke/patch-3
fix: actually use imported `ComponentType`
2 parents 765d386 + ee6328e commit bd1b74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface MarkdownProps {
9393
onLinkPress?: (url: string) => boolean;
9494
}
9595

96-
type MarkdownStatic = React.ComponentType<MarkdownProps>;
96+
type MarkdownStatic = ComponentType<MarkdownProps>;
9797
export const Markdown: MarkdownStatic;
9898
export type Markdown = MarkdownStatic;
9999
export {MarkdownIt};

0 commit comments

Comments
 (0)