Skip to content

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mientjan committed Jan 19, 2018
1 parent 3ba2e74 commit dd6bdc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/example/simple-with-custom-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ import {View, PureComponent, Text} from 'react-native';
import Markdown, {getUniqueID} from 'react-native-markdown-renderer';

const rules = {
h1: (node, children, parent, styles) =>
heading1: (node, children, parent, styles) =>
<Text key={getUniqueID()} style={[styles.heading, styles.heading1]}>
[{children}]
</Text>,
h2: (node, children, parent, styles) =>
heading2: (node, children, parent, styles) =>
<Text key={getUniqueID()} style={[styles.heading, styles.heading2]}>
[{children}]
</Text>,
h3: (node, children, parent, styles) =>
heading3: (node, children, parent, styles) =>
<Text key={getUniqueID()} style={[styles.heading, styles.heading3]}>
[{children}]
</Text>,
Expand Down

0 comments on commit dd6bdc4

Please sign in to comment.