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 9
9
"test" : " jest"
10
10
},
11
11
"dependencies" : {
12
+ "linkify-it" : " ^2.0.3" ,
12
13
"markdown-it-checkbox" : " ^1.1.0" ,
13
14
"prop-types" : " ^15.6.1" ,
14
15
"react" : " 16.3.1" ,
Original file line number Diff line number Diff line change 5
5
import React , { Component } from 'react' ;
6
6
import PropTypes from 'prop-types' ;
7
7
import { View } from 'react-native' ;
8
- import { parser , stringToTokens } from './lib/parser' ;
8
+ import parser from './lib/parser' ;
9
9
import applyStyle from './lib/util/applyStyle' ;
10
10
import getUniqueID from './lib/util/getUniqueID' ;
11
11
import hasParents from './lib/util/hasParents' ;
@@ -17,7 +17,7 @@ import MarkdownIt from 'markdown-it';
17
17
import PluginContainer from './lib/plugin/PluginContainer' ;
18
18
import blockPlugin from './lib/plugin/blockPlugin' ;
19
19
import { styles } from './lib/styles' ;
20
-
20
+ import { stringToTokens } from './lib/util/stringToTokens' ;
21
21
/**
22
22
*
23
23
*/
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import groupTextTokens from './util/groupTextTokens';
12
12
* @param {AstRenderer } [markdownIt]
13
13
* @return {View }
14
14
*/
15
- export function parser ( source , renderer , markdownIt ) {
15
+ export default function parser ( source , renderer , markdownIt ) {
16
16
let tokens = stringToTokens ( source , markdownIt ) ;
17
17
tokens = cleanupTokens ( tokens ) ;
18
18
tokens = groupTextTokens ( tokens ) ;
You can’t perform that action at this time.
0 commit comments