Skip to content

Failed prop type: Invalid prop remarkPlugins[2] supplied to ReactMarkdown #945

Answered by ChristianMurphy
starpit asked this question in Q&A
Discussion options

You must be logged in to vote

This is something that could be improved, currently the prop types expect a function or an object. https://github.com/remarkjs/react-markdown/blob/cd845c9f38e0280b67fa33cc8e1fcf9d2cd0cc72/lib/react-markdown.js#L140-L152
Array of string currently isn't included, but probably could be.
PR(s) are welcome!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@starpit
Comment options

@starpit
Comment options

@starpit
Comment options

@ChristianMurphy
Comment options

@starpit
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants