diff --git a/index.js b/index.js index bd26a72..0981397 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,7 @@ class Markdown extends Component { const tree = SimpleMarkdown.parserFor(rules)(blockSource, { inline: false }) - return SimpleMarkdown.reactFor(SimpleMarkdown.ruleOutput(rules, 'react'))( + return SimpleMarkdown.outputFor(rules, 'react')( tree ) } catch (errors) { diff --git a/package.json b/package.json index 799d243..da57bf4 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "author": "Charles Mangwa (http://carlito.ninja)", "dependencies": { "lodash": "^4.15.0", - "simple-markdown": "git://github.com/CharlesMangwa/simple-markdown.git" + "simple-markdown": "1.0.0-alpha.0" }, "peerDependencies": { "react-native": "*"