Skip to content

Commit d7800a1

Browse files
committed
doc(README): edit documentation
1 parent 4264176 commit d7800a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,16 @@ Example:
8282
8383
### `rules`
8484
85-
The Markdown will apply its rules by default. However you can pass a `rules` prop to add your own.
85+
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!
8686
87-
Exemple:
87+
Example:
8888
8989
```js
9090
<Markdown
9191
rules={{
9292
image: {
9393
react: (node, output, state) => (
94-
<MyOwnImageComponent
94+
<CustomImageComponent
9595
key={state.key}
9696
source={{ uri: node.target }}
9797
/>

0 commit comments

Comments
 (0)