Skip to content

Commit 09efa08

Browse files
authored
Update README.md
1 parent b75ad31 commit 09efa08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Then, include these scripts into your html file:
4343
```
4444

4545
Use <b>&lt;ReactSortable /&gt;</b> instead of <b>&lt;Sortable /&gt;</b> in your JSX code since the Sortable library will export a <b>window.Sortable</b> object if you're running JSX code directly in the browser. For example:
46-
```jsx
46+
```js
4747
<ReactSortable
4848
tag="ul"
4949
onChange={(order) =>
@@ -56,7 +56,7 @@ Use <b>&lt;ReactSortable /&gt;</b> instead of <b>&lt;Sortable /&gt;</b> in your
5656

5757
## Usage
5858
File: sortable-list.jsx
59-
```jsx
59+
```js
6060
import React from 'react';
6161
import Sortable from 'react-sortablejs';
6262

@@ -111,7 +111,7 @@ export default SortableList;
111111
```
112112

113113
File: index.jsx
114-
```jsx
114+
```js
115115
import React from 'react';
116116
import ReactDOM from 'react-dom';
117117
import SortableList from './sortable-list';

0 commit comments

Comments
 (0)