Skip to content

Commit

Permalink
doc(README): edit documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesMangwa committed Oct 15, 2016
1 parent 4264176 commit d7800a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ Example:
### `rules`
The Markdown will apply its rules by default. However you can pass a `rules` prop to add your own.
The Markdown will apply its rules by default. However you can pass a `rules` prop to add your own and then customize how the Markdown elements will be displayed!
Exemple:
Example:
```js
<Markdown
rules={{
image: {
react: (node, output, state) => (
<MyOwnImageComponent
<CustomImageComponent
key={state.key}
source={{ uri: node.target }}
/>
Expand Down

0 comments on commit d7800a1

Please sign in to comment.