Skip to content

Commit

Permalink
Merge pull request Shopify#111 from hosmelq/fixes-plugins-doc
Browse files Browse the repository at this point in the history
fix docs
  • Loading branch information
tsov authored Jan 9, 2018
2 parents bcbead4 + b96a3cf commit 1bd10f0
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 1bd10f0

Please sign in to comment.