File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 "test" : " jest"
1010 },
1111 "dependencies" : {
12+ "linkify-it" : " ^2.0.3" ,
1213 "markdown-it-checkbox" : " ^1.1.0" ,
1314 "prop-types" : " ^15.6.1" ,
1415 "react" : " 16.3.1" ,
Original file line number Diff line number Diff line change 55import React , { Component } from 'react' ;
66import PropTypes from 'prop-types' ;
77import { View } from 'react-native' ;
8- import { parser , stringToTokens } from './lib/parser' ;
8+ import parser from './lib/parser' ;
99import applyStyle from './lib/util/applyStyle' ;
1010import getUniqueID from './lib/util/getUniqueID' ;
1111import hasParents from './lib/util/hasParents' ;
@@ -17,7 +17,7 @@ import MarkdownIt from 'markdown-it';
1717import PluginContainer from './lib/plugin/PluginContainer' ;
1818import blockPlugin from './lib/plugin/blockPlugin' ;
1919import { styles } from './lib/styles' ;
20-
20+ import { stringToTokens } from './lib/util/stringToTokens' ;
2121/**
2222 *
2323 */
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import groupTextTokens from './util/groupTextTokens';
1212 * @param {AstRenderer } [markdownIt]
1313 * @return {View }
1414 */
15- export function parser ( source , renderer , markdownIt ) {
15+ export default function parser ( source , renderer , markdownIt ) {
1616 let tokens = stringToTokens ( source , markdownIt ) ;
1717 tokens = cleanupTokens ( tokens ) ;
1818 tokens = groupTextTokens ( tokens ) ;
You can’t perform that action at this time.
0 commit comments