Skip to content

Commit

Permalink
export fitimage
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacup committed Jun 6, 2020
1 parent 8414870 commit a997c5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-markdown-display",
"version": "6.1.2",
"version": "6.1.3",
"description": "Markdown renderer for react-native, with CommonMark spec support + adds syntax extensions & sugar (URL autolinking, typographer), originally created by Mient-jan Stelling as react-native-markdown-renderer",
"main": "src/index.js",
"types": "src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type RenderFunction = (
styles: any,
styleObj?: any,
// must have this so that we can have fixed overrides with more arguments
...args: any,
...args: any
) => ReactNode;

export type RenderLinkFunction = (
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import MarkdownIt from 'markdown-it';
import removeTextStyleProps from './lib/util/removeTextStyleProps';
import {styles} from './lib/styles';
import {stringToTokens} from './lib/util/stringToTokens';
import FitImage from 'react-native-fit-image';

export {
getUniqueID,
Expand All @@ -30,6 +31,7 @@ export {
MarkdownIt,
styles,
removeTextStyleProps,
FitImage,
};

// we use StyleSheet.flatten here to make sure we have an object, in case someone
Expand Down

0 comments on commit a997c5e

Please sign in to comment.