forked from mientjan/react-native-markdown-renderer
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
children typescript erorr #181
Comments
Unfortunately this project is no longer maintained. The last alpha release you mentioned is two years old and there was no further commit in this repo... |
See my answer here oblador/react-native-collapsible#450 (comment) for a temporary workaround. See also #158 |
thank you @pwfcurry , below is the file I added and its now working // md-children-fix.d.ts
import React from 'react';
declare module 'react-native-markdown-display' {
// https://www.typescriptlang.org/docs/handbook/declaration-merging.html#merging-interfaces
interface MarkdownProps {
children?: React.ReactNode;
}
} |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding this:
to the
node_modules/react-native-markdown-display/src/index.d.ts
fixed type error, working variant is below:Please, consider this I am using version 7.0.0-alpha.2
The text was updated successfully, but these errors were encountered: