Reorganize wrapComponents, fix CommonMark
This commit is contained in:
5
src/core/plugins/oas3/wrap-components/markdown.js
Normal file
5
src/core/plugins/oas3/wrap-components/markdown.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import React from "react"
|
||||
import ReactMarkdown from "react-markdown"
|
||||
import { OAS3ComponentWrapFactory } from "../helpers"
|
||||
|
||||
export default OAS3ComponentWrapFactory(({ source }) => <ReactMarkdown source={source} />)
|
||||
Reference in New Issue
Block a user