Reorganize wrapComponents, fix CommonMark

This commit is contained in:
Kyle Shockey
2017-05-23 19:39:54 -07:00
parent 31abbb7641
commit 128b910d58
5 changed files with 37 additions and 1 deletions

View 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} />)