Skip to content

Commit

Permalink
Merge pull request #135 from yuritoledo/patch-1
Browse files Browse the repository at this point in the history
Add syntax highlight
  • Loading branch information
sunnylqm committed Feb 10, 2021
2 parents aa68ba6 + 525897c commit df8a97a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -18,7 +18,7 @@
In react native >= 0.62, the new LogBox component would impact this component's initialization. To make it work we have to explicitly insert a mount point in your app like this:

```
```js
// in your entry file like `App.js`

// In theory you don't have to install `react-native-root-siblings` because it's a dep of root-toast
Expand All @@ -45,7 +45,7 @@ There are two different ways to manage a Toast.

##### **Calling api**

```
```js
import Toast from 'react-native-root-toast';


Expand Down Expand Up @@ -83,7 +83,7 @@ setTimeout(function () {
**NOTE:**
Showing a toast by using a Component inside render, The toast will be automatically disappeared when the `<Toast />` is unmounted.

```
```js
import React, {Component} from 'react-native';
import Toast from 'react-native-root-toast';

Expand Down

0 comments on commit df8a97a

Please sign in to comment.