Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hosmelq committed Jan 8, 2018
1 parent bcbead4 commit b96a3cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Plugins/Collidable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ This plugin is not included by default, so make sure to import it before using.
### Import

```js
import {Collidable} from '@shopify/draggable';
import {Plugins} from '@shopify/draggable';
```

```js
import Collidable from '@shopify/draggable/lib/plugins/collidable';
```

```html
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected]/lib/draggable.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected]/lib/plugins.js"></script>
```

```html
Expand Down
6 changes: 3 additions & 3 deletions src/Plugins/Snappable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ This plugin is not included by default, so make sure to import it before using.
### Import

```js
import {Snappable} from '@shopify/draggable';
import {Plugins} from '@shopify/draggable';
```

```js
import Snappable from '@shopify/draggable/lib/snappable';
import Snappable from '@shopify/draggable/lib/plugins/snappable';
```

```html
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected]/lib/draggable.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected]/lib/plugins.js"></script>
```

```html
Expand Down

0 comments on commit b96a3cf

Please sign in to comment.